/* Gemstone Rush - main.css. Mobile-first. Tokens from BRAND_BOOK.md. */

:root {
  --primary: #1B1040;
  --primary-lt: #3D2B6B;
  --primary-bg: #EDEAF4;
  --cta: #E8590C;
  --cta-dk: #C94A00;
  --cta-btn: #9B3000;
  --cta-text: #C94A00; /* darker for WCAG AA contrast on small/bold labels */
  --cta-bg: #FFF1EB;
  --gold: #B8860B;
  --gold-dk: #7A5C00;
  --gold-lt: #D4A843;
  --gold-bg: #FDF8ED;
  --red: #C41E3A;
  --green: #1A7F42;
  --bg: #ffffff;
  --surface: #FFFFFF;
  --surface-2: #EDEBE7;
  --border: #D4D0C9;
  --border-lt: #E6E3DD;
  --ink: #111;
  --ink-2: #3E3B37;
  --ink-3: #706C66;
  --ink-4: #9E9A94;
  --font-h: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r: 2px;
  --r-lg: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-b); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--r); }
a { color: var(--primary-lt); text-decoration: none; }
a:hover { color: var(--primary); }

/* Internal links — underlined orange, invites clicking */
.content p a:not([target="_blank"]),
.hub-primary p a:not([target="_blank"]) {
  color: var(--cta-dk);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(232,89,12,0.4);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.content p a:not([target="_blank"]):hover,
.hub-primary p a:not([target="_blank"]):hover {
  color: var(--cta-dk);
  text-decoration-color: var(--cta);
}

/* External / Wikipedia outgoing links — italic, muted, reference style */
.content p a[target="_blank"],
.hub-primary p a[target="_blank"] {
  color: var(--ink-3);
  font-style: italic;
  text-decoration: none;
  font-weight: 400;
}
.content p a[target="_blank"]:hover,
.hub-primary p a[target="_blank"]:hover {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--border);
}
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 600; line-height: 1.2; color: var(--ink); }
p { margin-bottom: 1rem; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px)  { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }
@media (min-width: 1440px) { .wrap { padding: 0 48px; } }
.preview-banner { background: var(--gold-bg); border-bottom: 1px solid var(--gold-lt); color: var(--ink-2); font-size: 0.75rem; padding: 8px 16px; text-align: center; }
.preview-banner strong { color: var(--gold); }

/* HEADER */
.hdr { background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 0; position: sticky; top: 0; z-index: 100; }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-h); font-size: 1.35rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }
.logo b { color: var(--cta); font-weight: 700; }
.logo svg { width: 24px; height: 24px; }
.nav { display: none; list-style: none; gap: 20px; font-size: 0.8125rem; font-weight: 500; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--cta); }
.hdr-search { display: none; }
.hdr-search-wrap { display: none; }

/* AD SLOTS — hidden until real ads are configured */
.ad { display: none; }

/* BREADCRUMBS */
.crumbs { font-size: 0.75rem; color: var(--ink-3); padding: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; letter-spacing: 0.01em; overflow: hidden; white-space: normal; }
.crumbs > * { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: var(--ink-2); font-weight: 500; transition: color 0.15s; max-width: 180px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
.crumbs a:hover { color: var(--cta); }
.crumbs strong { color: var(--primary); font-weight: 700; }
.crumbs .sep { color: var(--border); margin: 0 4px; font-weight: 400; flex-shrink: 0; }

/* LAYOUT */
.layout { display: flex; flex-direction: column; gap: 32px; }

/* HERO — stone page: 4:3 aspect is better for portrait gem shots than 1:1 */
/* Polaroid hero frame */
.hero-img-wrap { position: relative; }
.hero-img { position: relative; background: #fff; padding: 10px 10px 44px; box-shadow: 2px 6px 24px rgba(27,16,64,0.18), 0 1px 4px rgba(0,0,0,0.12); border-radius: 2px; }
.hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 0; }
.hero-polaroid-name { font-family: var(--font-h); font-style: italic; font-size: 1.05rem; font-weight: 400; color: #333; text-align: center; margin-top: 8px; line-height: 1; letter-spacing: 0.01em; }
/* Badge on wrapper (outside rotation) — text always axis-aligned and crisp */
.hero-badge { position: absolute; top: 16px; left: 16px; z-index: 10; background: var(--cta-dk); color: #fff; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 3px; -webkit-font-smoothing: antialiased; }
/* Attribution injected by JS — caption-area credit, not overlaid on photo */
.hero-attr-credit { display: none; }
.hero-attr-credit a { color: inherit; text-decoration: none; }
.hero-attr-credit a:hover { color: rgba(0,0,0,0.6); }
/* Hero info stacks below image on mobile, side-by-side on tablet+ */
.hero-info { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
/* Price tier badge — budget context visible immediately in hero */
.hero-price-tier { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r); border: 1px solid var(--border-lt); background: var(--surface-2); font-size: 0.8125rem; font-weight: 600; width: fit-content; }
.hpt-icon { font-family: var(--font-b); letter-spacing: -0.04em; font-weight: 800; }
.hpt-label { color: var(--ink-2); }
.hpt-anchor { color: var(--primary-lt); font-weight: 400; font-size: 0.75rem; margin-left: 4px; }
.pt-budget  .hpt-icon { color: #1A7F42; }
.pt-mid     .hpt-icon { color: #B8860B; }
.pt-premium .hpt-icon { color: var(--cta); }
.pt-luxury  .hpt-icon { color: var(--primary-lt); }
.hero-info h1 { font-size: 1.75rem; margin-bottom: 0; line-height: 1.0; letter-spacing: -0.02em; text-transform: uppercase; }
.stone-cat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cat-tag { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 3px; padding: 3px 8px; text-decoration: none; white-space: nowrap; transition: background 0.12s, color 0.12s; }
.cat-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.hero-sub { font-family: var(--font-h); font-style: italic; font-size: 1.05rem; color: var(--ink-2); margin: 0; line-height: 1.45; }
.pron { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 0.875rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--border); padding: 6px 14px 6px 10px; border-radius: 6px; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.pron:hover, .pron:focus-visible { background: var(--primary); color: #fff; border-color: var(--primary); }
.pron:focus-visible { outline: 3px solid var(--primary-lt); outline-offset: 2px; }
.pron .pron-icon { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; background: var(--primary); color: #fff; border-radius: 50%; flex-shrink: 0; }
.pron:hover .pron-icon, .pron:focus-visible .pron-icon { background: #fff; color: var(--primary); }
.pron .pron-text { font-weight: 600; letter-spacing: 0.01em; }
.pron .pron-ipa { font-family: var(--font-h); font-style: italic; color: var(--ink-3); font-size: 0.8125rem; }
.pron:hover .pron-ipa, .pron:focus-visible .pron-ipa { color: rgba(255,255,255,0.8); }
.pron.playing { background: var(--cta-bg); color: var(--ink); border-color: var(--cta-bg); }
.pron.playing .pron-icon { animation: gr-pron-pulse 0.9s ease-in-out infinite; }
@keyframes gr-pron-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

.swatches { display: flex; gap: 6px; margin: 12px 0; }
.sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); cursor: default; }

.byline { font-size: 0.75rem; color: var(--ink-3); margin-top: 8px; }
.byline a { font-weight: 600; color: var(--ink-2); }

/* INFOBOX — more breathing room, bigger label, clear separation */
.infobox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; margin: 24px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.infobox-title { font-family: var(--font-h); font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--cta); display: flex; align-items: center; gap: 8px; }
.infobox-title::before { content: '\25c6'; color: var(--cta); font-size: 0.75em; }
.infobox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ib-item { padding: 9px 0; border-bottom: 1px solid var(--border-lt); }
.ib-item:nth-last-child(-n+2) { border-bottom: 0; } /* remove border on last row */
.ib-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); font-weight: 700; margin-bottom: 2px; }
.ib-val { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.ib-val a { font-weight: 600; color: var(--primary-lt); }

/* SAFETY — pill chips with color-coded left border for quick scan */
.safety { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.sf-item { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 7px 14px 7px 10px; font-size: 0.8125rem; font-weight: 500; transition: box-shadow 0.15s; }
.sf-item svg { flex-shrink: 0; opacity: 0.75; }
/* Status indicator — bold colored mark */
.sf-y { color: var(--green); font-weight: 700; }
.sf-w { color: var(--gold-dk); font-weight: 700; }
.sf-n { color: var(--red); font-weight: 700; }
/* Green border for safe, amber for caution, red for avoid */
.sf-item:has(.sf-y) { border-color: rgba(26,127,66,0.3); }
.sf-item:has(.sf-w) { border-color: rgba(184,134,11,0.3); }
.sf-item:has(.sf-n) { border-color: rgba(196,30,58,0.3); }

/* SCORECARD — taller bars, dynamic color via custom prop per row */
.score { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; margin: 24px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.score-title { font-family: var(--font-h); font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.score-title::before { content: '\25c6'; color: var(--cta); font-size: 0.75em; }
.score-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-lt); }
.score-row:last-child { border: 0; }
.sc-label { font-size: 0.875rem; font-weight: 600; min-width: 100px; color: var(--ink); }
.sc-bar { flex: 1; height: 10px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
/* Bar fills left-to-right with a gradient unique to each dimension */
.sc-fill { height: 100%; border-radius: 6px; width: var(--w); background: linear-gradient(90deg, var(--bar-start, var(--primary-lt)), var(--bar-end, var(--cta))); transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
/* Per-row color signals: rarity=purple, durability=green, affordability=gold, popularity=cta */
.score-row:nth-child(2) .sc-fill { --bar-start: #9B59B6; --bar-end: #6F5CA3; }
.score-row:nth-child(3) .sc-fill { --bar-start: #4CAF89; --bar-end: #1A7F42; }
.score-row:nth-child(4) .sc-fill { --bar-start: #D4A843; --bar-end: #B8860B; }
.score-row:nth-child(5) .sc-fill { --bar-start: var(--cta); --bar-end: var(--cta-dk); }
.sc-num { font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); min-width: 36px; text-align: right; }

/* MATCH — elevated card, columns side-by-side on tablet+ */
.match { background: var(--primary); border-radius: var(--r-lg); padding: 0; margin: 32px 0; overflow: hidden; }
.match-title { font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; padding: 16px 20px 14px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12); margin: 0; }
.match-cols { display: grid; grid-template-columns: 1fr; gap: 0; }
.match-y, .match-n { padding: 18px 20px; }
.match-y { background: rgba(26,127,66,0.18); border-bottom: 1px solid rgba(255,255,255,0.08); }
.match-n { background: rgba(196,30,58,0.15); }
.match ul { list-style: none; font-size: 0.875rem; line-height: 1.85; margin-top: 6px; color: rgba(255,255,255,0.92); }
.match li { padding-left: 1.5em; position: relative; }
.match-y li::before { content: '\2713'; position: absolute; left: 0; color: #5DD68A; font-weight: 700; }
.match-n li::before { content: '\25c6'; position: absolute; left: 0; color: #FF8096; font-weight: 700; font-size: 0.75em; top: 3px; }
.match strong { font-size: 0.8125rem; font-weight: 700; display: block; margin-bottom: 6px; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; }
/* Links inside dark match panel must be light/visible */
.match a { color: rgba(255,255,255,0.9); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 2px; font-weight: 500; }
.match a:hover { color: #fff; text-decoration-color: var(--cta); }
/* Also fix dark buying-action panel links */
.buying-action a:not(.btn) { color: rgba(255,255,255,0.85); text-decoration: underline; }
/* Stone TOC links already white but ensure */
.stone-toc a { color: rgba(255,255,255,0.8); }

/* CONTENT — section headers: dark-navy band, DM Sans (not Cormorant) for uppercase clarity */
.content h2 {
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 800;
  margin-top: 52px;
  margin-bottom: 20px;
  padding: 11px 18px;
  background: var(--primary);
  color: #fff;
  border-left: none;
  border-bottom: 3px solid var(--cta);
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r) var(--r) 0 0;
}
.content h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; color: var(--ink); }
/* First h2 on the page (infobox follows hero) gets no extra top margin */
.content h2:first-of-type { margin-top: 32px; }

/* COMPARISON */
.cmp { width: 100%; border-collapse: collapse; font-size: 0.8125rem; margin: 16px 0; }
.cmp th { background: var(--primary); color: #fff; font-family: var(--font-h); font-weight: 600; padding: 8px 10px; text-align: left; }
.cmp td { padding: 8px 10px; border-bottom: 1px solid var(--border-lt); }
.cmp tr:nth-child(even) td { background: var(--surface-2); }
.cmp tr.hi td { background: var(--primary-bg); font-weight: 600; }
.cmp-wrap { overflow-x: auto; margin: 16px 0; }

/* TIMELINE */
.tl { position: relative; padding-left: 20px; margin: 16px 0; }
.tl::before { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 16px; }
.tl-item::before { content: ''; position: absolute; left: -19px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--cta); border: 2px solid var(--surface); }
.tl-date { font-size: 0.6875rem; font-weight: 700; color: var(--cta-text); text-transform: uppercase; letter-spacing: 0.04em; }
.tl-text { font-size: 0.8125rem; color: var(--ink-2); }

/* FUN FACTS */
.facts { background: var(--gold-bg); border: 1px solid var(--gold-lt); border-radius: var(--r-lg); padding: 16px; margin: 24px 0; }
.facts-title { font-family: var(--font-h); font-weight: 700; font-size: 1rem; color: var(--gold-dk); margin-bottom: 10px; }
.facts ul { list-style: none; font-size: 0.8125rem; }
.facts li { padding: 6px 0 6px 1.4em; position: relative; border-bottom: 1px solid rgba(184,134,11,0.12); }
.facts li:last-child { border: 0; }
.facts li::before { content: '\2666'; position: absolute; left: 0; color: var(--gold); }

/* MEDICAL DISCLAIMER */
.discl { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 16px; font-size: 0.75rem; color: var(--ink-3); line-height: 1.6; margin: 16px 0; }
.discl a { color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; font-weight: 400; }
.discl a:hover { color: var(--ink-2); text-decoration-color: var(--ink-3); }
.discl strong { color: var(--ink-2); }
.discl-footer { font-size: 0.7rem; color: var(--ink-2); text-align: center; margin: 8px 0 0; }
.discl-footer a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }

/* AFFIRMATION — centered pull-quote, dark navy so it reads as a visual break */
.affirm {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--primary);
  text-align: center;
  padding: 24px 32px;
  border-top: 2px solid var(--border-lt);
  border-bottom: 2px solid var(--border-lt);
  background: var(--surface);
  border-left: none;
  border-radius: 0;
  margin: 32px 0;
  line-height: 1.5;
  position: relative;
}
/* Decorative quote marks */
.affirm::before { content: '\201C'; position: absolute; top: 8px; left: 14px; font-size: 3rem; color: var(--cta); opacity: 0.55; line-height: 1; font-style: normal; }
.affirm::after  { content: '\201D'; position: absolute; bottom: -4px; right: 14px; font-size: 3rem; color: var(--cta); opacity: 0.55; line-height: 1; font-style: normal; }

/* GIFT TAGS */
.gifts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.gift { background: var(--surface); color: var(--ink); font-size: 0.75rem; font-weight: 600; padding: 6px 14px; border-radius: 3px; border: 1px solid var(--border); }

/* CARE WARNINGS */
.warn { background: #FEF2F2; border: 1px solid #FECACA; border-left: 4px solid var(--red); border-radius: 0 var(--r) var(--r) 0; padding: 16px; margin: 24px 0; }
.warn-title { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; color: var(--red); margin-bottom: 8px; }
.warn ul { list-style: none; font-size: 0.8125rem; line-height: 1.8; }
.warn li { padding-left: 1.4em; position: relative; }
.warn li::before { content: '!'; position: absolute; left: 0; font-weight: 700; color: var(--red); }

/* PRICE BAR — with header label and buy CTA beneath */
.price-bar { margin: 24px 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; }
.price-bar-head { font-family: var(--font-h); font-size: 0.9375rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.pb-track { height: 12px; background: linear-gradient(90deg, var(--green), var(--gold), var(--cta), var(--red)); border-radius: 6px; position: relative; margin: 10px 0; }
.pb-dot { position: absolute; top: -6px; width: 24px; height: 24px; background: var(--surface); border: 3px solid var(--primary); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 2px 8px rgba(0,0,0,0.2); left: var(--x); }
.pb-labels { display: flex; justify-content: space-between; font-size: 0.6875rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 6px; }
/* Buying CTA block — strong call-to-action after price context */
.buying-cta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.buying-cta .btn { min-width: 200px; justify-content: center; }
.buying-cta .aff-note { margin: 0; flex: 1; min-width: 200px; }

/* AFFILIATE PRODUCTS */
.aff-note { font-size: 0.6875rem; color: var(--ink-3); font-style: italic; margin-bottom: 12px; padding: 6px 12px; background: var(--surface-2); border-radius: var(--r); }
.prods { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.prod { background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; display: flex; flex-direction: row; }
.prod:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,89,12,0.12); border-color: var(--cta); }
.prod-img { width: 110px; min-height: 110px; flex-shrink: 0; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.prod-body { padding: 12px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.prod-name { font-family: var(--font-h); font-weight: 600; font-size: 0.9375rem; margin-bottom: 2px; color: var(--ink); }
.prod-price { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 8px; }
.prod-stars { font-size: 0.75rem; color: var(--gold); margin-bottom: 8px; }
.prod-cta { display: block; text-align: center; background: var(--cta); color: #fff; font-size: 0.8125rem; font-weight: 700; padding: 12px 16px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.15s; }
.prod-cta:hover { background: var(--cta-dk); color: #fff; }

/* PAIRS — larger thumbnails, name and why more readable */
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.pair { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 12px; text-align: center; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; color: var(--ink); }
.pair:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: var(--primary-lt); }
.pair-img { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 8px; overflow: hidden; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--border); }
.pair-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pair-name { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; color: var(--ink); margin-bottom: 4px; }
.pair-why { font-size: 0.75rem; color: var(--ink-3); line-height: 1.4; }

/* ORIGIN MAP */
.origin-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.origin-card { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.origin-card img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.origin-name { font-weight: 700; font-size: 0.875rem; }
.origin-region { font-weight: 400; color: var(--ink-3); font-size: 0.75rem; }
.origin-desc { font-size: 0.75rem; color: var(--ink-2); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-lt); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 0.875rem; min-height: 48px; user-select: none; }
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--ink-3); transition: transform 0.2s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.7; transition: max-height 0.3s, padding 0.3s; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 14px; }

/* SERIES */
.series { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin: 24px 0; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.series-icon { width: 48px; height: 48px; border-radius: var(--r); background: var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.series-info { flex: 1; min-width: 180px; }
.series-tag { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cta); font-weight: 700; }
.series-name { font-family: var(--font-h); font-size: 1rem; font-weight: 700; }
.series-desc { font-size: 0.75rem; color: var(--ink-2); }
.series-link { font-size: 0.8125rem; font-weight: 700; color: var(--cta); white-space: nowrap; }

/* AUTHOR */
.author { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin: 32px 0; box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
.author-av { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.author-name { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; }
.author-creds { font-size: 0.6875rem; color: var(--cta-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.author-bio { font-size: 0.75rem; color: var(--ink-2); margin-top: 4px; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.sb-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.sb-title { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); }

/* TOC */
.toc { list-style: none; font-size: 0.75rem; }
.toc li { padding: 4px 0; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--cta); }
.toc .on a { color: var(--cta); font-weight: 600; border-left: 2px solid var(--cta); padding-left: 8px; }

/* Sidebar CTA */
.sb-cta { background: var(--primary); color: #fff; border-radius: var(--r-lg); padding: 20px 16px; text-align: center; }
.sb-cta-h { font-family: var(--font-h); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.sb-cta-p { font-size: 0.75rem; opacity: 0.8; margin-bottom: 14px; }
.sb-cta-btn { display: block; background: var(--cta-btn); color: #fff; font-weight: 700; font-size: 0.875rem; padding: 14px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.15s; }
.sb-cta-btn:hover { background: var(--cta-dk); color: #fff; }

/* Related stones */
.rel { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border-lt); font-size: 0.8125rem; }
.rel:last-child { border: 0; }
.rel-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.rel-dot img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Compare links */
.cmp-links a { display: block; padding: 4px 0; font-size: 0.75rem; color: var(--ink-2); }
.cmp-links a:hover { color: var(--cta); }

/* Trending badge */
.trending { background: var(--cta-bg); border: 1px solid rgba(232,89,12,0.2); border-radius: var(--r-lg); padding: 14px 16px; }
.trending-tag { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cta); font-weight: 700; }
.trending-h { font-size: 0.8125rem; font-weight: 700; margin-top: 2px; }
.trending-p { font-size: 0.75rem; color: var(--ink-2); margin-top: 4px; }

/* EXPLORE */
.explore { margin-top: 48px; }
.explore h2 { text-align: center; border: none; font-size: 1.5rem; margin-bottom: 20px; }
.explore-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.explore-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.explore-tag { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.explore-name { font-family: var(--font-h); font-size: 1rem; font-weight: 700; margin: 4px 0; }
.explore-desc { font-size: 0.75rem; color: var(--ink-2); }
.explore-link { font-size: 0.75rem; font-weight: 700; color: var(--cta); display: inline-block; margin-top: 8px; }

/* FOOTER */
.ftr { background: #111; color: rgba(255,255,255,0.6); padding: 48px 0 24px; margin-top: 48px; font-size: 0.8125rem; }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; margin-bottom: 32px; }
.ftr-col-h { color: #fff; font-weight: 600; margin-bottom: 12px; font-size: 0.875rem; }
.ftr-links { list-style: none; }
.ftr-links li { padding: 3px 0; }
.ftr-links a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.ftr-links a:hover { color: rgba(255,255,255,0.9); }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.6875rem; color: rgba(255,255,255,0.55); }
.ftr-legal a { color: rgba(255,255,255,0.55); margin-left: 16px; }
.ftr-legal a:hover { color: rgba(255,255,255,0.7); }

/* === MEGA MENU === */
.hdr-inner { gap: 16px; }
.hdr-burger { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.hdr-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.hdr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mega-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--surface); overflow-y: auto; padding: 16px 0; z-index: 99; }
.mega-nav.is-open { display: block; }
.mega-list-top { list-style: none; display: flex; flex-direction: column; padding: 0 16px; }
.mega-item { border-bottom: 1px solid var(--border-lt); }
.mega-trigger { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.mega-trigger:hover { color: var(--cta); }
.mega-caret { font-size: 0.7em; opacity: 0.5; transition: transform 0.2s; }
.mega-item.is-expanded .mega-caret { transform: rotate(180deg); }
.mega-panel { display: none; padding: 4px 0 16px; gap: 16px; grid-template-columns: 1fr; }
.mega-item.is-expanded .mega-panel { display: grid; }
.mega-col-h { font-family: var(--font-b); font-size: 0.625rem; font-weight: 800; color: var(--ink-3); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-lt); text-transform: uppercase; letter-spacing: 0.1em; }
.mega-col-list { list-style: none; }
.mega-col-list li { padding: 2px 0; }
.mega-col-list a { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--ink); font-weight: 500; padding: 3px 6px; border-radius: 3px; margin: 0 -6px; transition: background 0.12s, color 0.12s; }
.mega-col-list a:hover { color: var(--cta); background: var(--cta-bg); }
.mega-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.2); flex-shrink: 0; }

/* === HOMEPAGE BLOCKS === */
.eyebrow { display: inline-block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cta-dk); margin-bottom: 8px; }
/* section-h: uppercase editorial headings */
.section-h { font-family: var(--font-h); font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; }
.section-lede { color: var(--ink-2); margin-bottom: 24px; max-width: 720px; font-size: 1rem; line-height: 1.65; }
.link-cta { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 700; color: var(--cta); text-transform: uppercase; letter-spacing: 0.04em; }
.link-cta:hover { color: var(--cta-dk); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 3px; font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; min-height: 48px; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--cta-btn); color: #fff; border: 2px solid var(--cta-btn); }
.btn-primary:hover { background: var(--cta-dk); border-color: var(--cta-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

.home-hero { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding: 32px 0 40px; border-bottom: 1px solid var(--border-lt); }
.home-hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.home-hero-text h1 { font-size: 2rem; line-height: 1.1; color: var(--primary); margin-bottom: 12px; letter-spacing: -0.01em; }
.home-hero-sub { font-family: var(--font-h); font-style: italic; font-size: 1.125rem; color: var(--ink-2); margin-bottom: 20px; max-width: 540px; }
.home-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero-art { position: relative; }
.home-hero-art img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); }
.home-hero-card { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--cta); padding: 16px; margin-top: -28px; margin-left: 16px; margin-right: 16px; border-radius: var(--r-lg); box-shadow: 0 8px 24px rgba(27,16,64,0.12); position: relative; z-index: 2; }
.home-hero-card-title { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; margin: 4px 0 8px; }
.home-hero-card p { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 10px; }

.home-section { padding: 48px 16px; }

.shop-by-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.shop-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.shop-card:hover { transform: translateY(-2px); border-color: var(--cta); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.shop-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--primary-bg); border-radius: var(--r); font-size: 1.4rem; margin-bottom: 12px; }
.shop-card-title { font-family: var(--font-h); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.shop-card p { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 12px; }

/* Intent tiles — deeper backgrounds, more readable desc text, CTA arrow */
.home-intents { background: var(--primary); color: rgba(255,255,255,0.85); padding: 64px 16px; }
.home-intents .eyebrow { color: var(--gold-lt); }
.home-intents .section-h { color: #fff; font-size: 2rem; }
.home-intents .section-lede { color: rgba(255,255,255,0.72); max-width: 640px; }
.intent-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
.intent-card { display: block; background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); padding: 22px 20px 18px; transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s; position: relative; overflow: hidden; }
/* Hover: more visible glow */
.intent-card:hover { background: rgba(232,89,12,0.14); border-color: rgba(232,89,12,0.5); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); color: #fff; }
/* Arrow indicates clickability */
.intent-card::after { content: '\2192'; position: absolute; bottom: 16px; right: 18px; font-size: 1.25rem; color: rgba(255,255,255,0.3); transition: color 0.15s, transform 0.15s; }
.intent-card:hover::after { color: var(--cta); transform: translateX(3px); }
.intent-tag { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-lt); margin-bottom: 6px; display: block; }
.intent-title { font-family: var(--font-h); font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0 0 10px; line-height: 1.15; }
.intent-card p { font-size: 0.875rem; color: rgba(255,255,255,0.72); margin: 0; line-height: 1.55; padding-right: 24px; }

.featured-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feat-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.feat-card-img { aspect-ratio: 4/3; overflow: hidden; }
.feat-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.feat-card-body { padding: 16px; }
.feat-card-tag { display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cta-text); background: var(--cta-bg); padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; }
.feat-card-name { font-family: var(--font-h); font-weight: 700; font-size: 1.25rem; margin-bottom: 6px; }
.feat-card p { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 12px; }

.home-tools { background: var(--gold-bg); border-top: 1px solid var(--gold-lt); border-bottom: 1px solid var(--gold-lt); padding: 56px 16px; }
.home-tools .eyebrow { color: var(--cta-btn); }
.tools-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.tool-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; transition: transform 0.15s, border-color 0.15s; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.tool-card-icon { font-size: 1.6rem; display: inline-block; margin-bottom: 10px; }
.tool-card-title { font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.tool-card p { font-size: 0.8125rem; color: var(--ink-2); margin: 0; }

.home-eeat { padding: 56px 16px; background: var(--surface); border-top: 1px solid var(--border-lt); }
.home-eeat-inner { display: grid; grid-template-columns: 1fr; gap: 24px; }
.eeat-authors { display: flex; flex-direction: column; gap: 12px; }
.eeat-author { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color 0.15s; }
.eeat-author:hover { border-color: var(--cta); }
.eeat-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.eeat-author-name { font-family: var(--font-h); font-weight: 700; font-size: 1rem; color: var(--ink); }
.eeat-author-creds { font-size: 0.75rem; color: var(--ink-2); }
.eeat-author-lane { font-size: 0.6875rem; color: var(--cta); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* === PORTAL HERO (dark band, search-first) === */
.portal-hero { background: radial-gradient(circle at 70% 30%, #3D2B6B 0%, #1B1040 60%, #140831 100%); color: #fff; position: relative; overflow: hidden; }
.portal-hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(circle at 15% 110%, rgba(232,89,12,0.18), transparent 40%),
  radial-gradient(circle at 85% -20%, rgba(184,134,11,0.2), transparent 50%);
  pointer-events: none; }
.portal-hero-inner { padding: 48px 16px 32px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; position: relative; z-index: 1; box-sizing: border-box; }
/* Portal hero H1 is the single most important value-prop line on the site */
.portal-hero-text h1 { font-size: 2.6rem; line-height: 0.96; letter-spacing: -0.025em; color: #fff; margin: 12px 0 16px; }
.portal-hero-sub { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 24px; line-height: 1.5; }

/* Search — taller input, more prominent submit button */
.portal-search { display: flex; align-items: stretch; background: #fff; border-radius: 6px; padding: 6px 6px 6px 16px; box-shadow: 0 16px 40px -8px rgba(0,0,0,0.5); max-width: 560px; }
.portal-search-icon { color: var(--ink-3); align-self: center; flex-shrink: 0; }
.portal-search input { flex: 1; border: 0; padding: 16px 14px; font: inherit; font-size: 1rem; background: transparent; color: var(--ink); }
.portal-search input::placeholder { color: var(--ink-3); }
.portal-search input:focus { outline: 0; }
.portal-search button { border: 0; background: var(--cta); color: #fff; padding: 0 26px; font-weight: 700; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; cursor: pointer; transition: background 0.15s, transform 0.12s; white-space: nowrap; }
.portal-search button:hover { background: var(--cta-dk); transform: scale(1.02); }

/* Portal chips — slightly larger touch targets, subtle glass effect */
.portal-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.portal-chip { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 1px solid rgba(255,255,255,0.22); border-radius: 6px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.9); font-size: 0.875rem; font-weight: 600; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s; }
.portal-chip:hover { background: rgba(232,89,12,0.25); border-color: var(--cta); color: #fff; transform: translateY(-1px); }
.portal-chip:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
.portal-chip svg { opacity: 0.9; }

/* Polaroid SOTD card in hero — static, no animation */
.portal-hero-featured { background: #fff; border-radius: 1px; overflow: visible; box-shadow: 0 20px 48px -4px rgba(0,0,0,0.6), 8px 8px 0 rgba(0,0,0,0.15); align-self: center; transform: rotate(-2.5deg); }
.phf-link { display: block; color: var(--ink); padding: 8px 8px 0; cursor: pointer; }
.phf-img { aspect-ratio: 4/3; overflow: hidden; }
.phf-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.phf-body { padding: 12px 8px 20px; text-align: center; }
.phf-eyebrow { display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cta); margin-bottom: 6px; }
.phf-title { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: var(--primary); margin-bottom: 0; }
.phf-cta { display: inline-block; margin-top: 10px; font-size: 0.75rem; font-weight: 700; color: var(--cta); text-transform: uppercase; letter-spacing: 0.06em; }

.portal-promise-bar { background: rgba(0,0,0,0.22); border-top: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.ppb-inner { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 14px 16px; justify-content: center; }
.ppb-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.ppb-icon { color: var(--gold-lt); display: inline-flex; }

/* === COLORS SECTION — clear call to browse by color === */
.colors-section { padding: 48px 16px 32px; border-bottom: 1px solid var(--border-lt); }
.section-head { margin-bottom: 20px; }

/* === PORTAL TRI (3-col: months + chakras + zodiac) — light bg to separate from mosaic === */
.portal-tri { padding: 40px 16px 56px; display: grid; grid-template-columns: 1fr; gap: 40px; background: var(--bg); }
.ptri-col { display: flex; flex-direction: column; }
.ptri-head { margin-bottom: 14px; }
.ptri-h { font-family: var(--font-h); font-weight: 700; font-size: 1.3rem; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }

.month-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mg { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: transform 0.15s, border-color 0.15s; text-decoration: none; }
.mg:hover { transform: translateY(-2px); border-color: var(--cta); }
.mg-dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), 0 0 0 1px var(--border-lt); }
.mg-m { font-size: 0.6rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.mg-stone { font-family: var(--font-h); font-weight: 600; font-size: 0.75rem; color: var(--ink); line-height: 1.1; text-align: center; }

/* === UTILITIES (keeps markup free of inline styles) === */
.u-center          { text-align: center; }
.u-py-32           { padding: 32px 0; }
.u-py-48           { padding: 48px 0 64px; }
.u-py-64           { padding: 64px 0; }
.u-mt-16           { margin-top: 16px; }
.u-mt-32           { margin-top: 32px; }
.u-mt-40           { margin-top: 40px; }
.u-mb-8            { margin-bottom: 8px; }
.u-mb-12           { margin-bottom: 12px; }
.u-mb-24           { margin-bottom: 24px; }
.u-max-400         { max-width: 400px; margin: 32px auto 0; }
.u-fz-xxl          { font-size: 3rem; }
.u-fz-lg           { font-size: 1.9rem; }
.u-fz-sm           { font-size: 0.8125rem; }
.u-color-ink       { color: var(--ink); }
.u-color-ink-3     { color: var(--ink-3); }
.u-color-green     { color: var(--green); }
.u-color-red       { color: var(--red); }
.u-color-cta       { color: var(--cta); font-weight: 600; }
.u-color-gold-lt   { color: var(--gold-lt); }
.u-color-primary-lt{ color: var(--primary-lt); }
.u-divider         { margin: 24px 0; border: 0; border-top: 1px solid var(--border-lt); }
.u-inline-block    { display: inline-block; }

/* Data-driven CSS hooks (read from `style="--var:value"` on the element) */
.sw            { background: var(--sw-bg); }
.cs-sw         { background: var(--sw-bg); }
.mg-dot        { background: var(--dot-bg); }
.chk-dot-big   { background: var(--dot-bg); }
.mega-dot      { background: var(--dot-bg); }
.rel-dot       { background: var(--dot-bg); }
.sc-fill       { width: var(--w); }
.pb-dot        { left: var(--x); }
/* grid-template-columns for mega-panel is set inside @media (min-width:768px) only */
.explore-tag   { color: var(--tag-color, var(--cta)); }
.eyebrow-gold  { color: var(--gold-lt); }
.pair-img-empty { background: var(--surface-2); }

/* Screen-reader-only visually hidden pattern */
.sr-only { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Search form inside searchform.php */
.search-form { display: flex; gap: 8px; align-items: stretch; }
.search-form .search-input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r); font: inherit; background: var(--surface); color: var(--ink); }
.search-form .search-input:focus { outline: 0; border-color: var(--cta); }
.search-form .search-submit { border: 0; cursor: pointer; }

/* Content-body image (long-form editorial stock image placement) */
.content-img { margin: 20px 0; border-radius: var(--r-lg); overflow: hidden; }
.content-img img { width: 100%; height: auto; display: block; border-radius: 0; }

/* Featured stone card inner title link */
.feat-stone-title { font-family: var(--font-h); font-size: 1.9rem; margin-bottom: 6px; font-weight: 700; line-height: 1.1; }
.feat-stone-title a { color: var(--ink); }

/* FAQ answer always-open override (first item) */
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 14px; }

/* === INLINE + GALLERY for stone pages === */
.stone-inline-img { margin: 24px 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.stone-inline-img img { width: 100%; height: auto; border-radius: 0; aspect-ratio: 3/2; object-fit: cover; }
.stone-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 32px; }
.sgg-tile { margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 1; background: var(--surface-2); }
.sgg-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }


/* origin card with image (enhanced) */
.origin-card img { width: 100px; height: 80px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }

/* === PAGE RENDERER ELEMENTS (hub & mandatory pages) === */
.page-list { margin: 12px 0 16px 1.4em; font-size: 0.875rem; line-height: 1.8; }
.page-list li { margin-bottom: 4px; }
.page-quote { border-left: 4px solid var(--cta); padding: 14px 20px; margin: 24px 0; background: var(--primary-bg); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.page-quote p { font-family: var(--font-h); font-style: italic; font-size: 1.05rem; color: var(--primary); margin: 0 0 8px; }
.page-quote cite { font-size: 0.75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* === PAGE HERO IMAGE (hub-leaf/hub-master) === */
.page-hero { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; max-height: 420px; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: 16/9; }
.page-header { margin-bottom: 20px; }
.page-h1 { font-size: 2.2rem; line-height: 1.05; letter-spacing: -0.01em; color: var(--primary); }
.page-intro { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: var(--ink-2); margin-bottom: 24px; }
.page-intro p { margin-bottom: 0.6em; }
.related-hubs { margin-top: 40px; padding: 20px 0; border-top: 2px solid var(--cta); }
.related-hubs strong { font-family: var(--font-h); font-weight: 700; display: block; margin-bottom: 10px; }
.related-hubs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; }
.related-hubs a { display: inline-block; padding: 6px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; font-size: 0.8125rem; color: var(--ink-2); }
.related-hubs a:hover { background: var(--primary-bg); border-color: var(--primary-lt); color: var(--primary); }
.hero-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-lt), var(--primary)); color: rgba(255,255,255,0.15); }
.hero-placeholder span { font-family: var(--font-h); font-size: 10rem; font-weight: 700; line-height: 1; }
.data-sources { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border-lt); font-size: 0.75rem; color: var(--ink-3); }
.data-sources a { color: var(--ink-2); }

/* === STONE PAGE ANATOMY GRID — color-coded === */
.stone-anatomy { padding: 8px 0; }
.anatomy-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.anatomy-cell { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; position: relative; overflow: hidden; }
.anatomy-cell::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); opacity: 0.6; }
.anatomy-cell:hover { transform: translateX(3px); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.anatomy-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: var(--primary-bg); color: var(--primary); }
.anatomy-label { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; color: var(--ink); margin-bottom: 2px; }
.anatomy-short { font-size: 0.75rem; color: var(--ink-2); line-height: 1.4; }

/* anatomy tint variants */
.anatomy-cell.tint-primary::before { background: var(--primary); }
.anatomy-cell.tint-primary .anatomy-icon { background: var(--primary-bg); color: var(--primary); }
.anatomy-cell.tint-blue::before    { background: #1F5DA8; }
.anatomy-cell.tint-blue .anatomy-icon    { background: #E6EEF8; color: #1F5DA8; }
.anatomy-cell.tint-gold::before    { background: var(--gold); }
.anatomy-cell.tint-gold .anatomy-icon    { background: var(--gold-bg); color: var(--gold); }
.anatomy-cell.tint-cta::before     { background: var(--cta); }
.anatomy-cell.tint-cta .anatomy-icon     { background: var(--cta-bg); color: var(--cta); }
.anatomy-cell.tint-purple::before  { background: #7D3C98; }
.anatomy-cell.tint-purple .anatomy-icon  { background: #F1E6F5; color: #7D3C98; }
.anatomy-cell.tint-red::before     { background: var(--red); }
.anatomy-cell.tint-red .anatomy-icon     { background: #FEF0F2; color: var(--red); }
.anatomy-cell.tint-green::before   { background: var(--green); }
.anatomy-cell.tint-green .anatomy-icon   { background: #E8F4ED; color: var(--green); }

/* === STONE DIRECTORY (homepage authority index) === */
.stone-dir { padding: 40px 0 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.stone-dir-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 24px; }
.stone-dir-count { font-family: var(--font-h); font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }
.stone-dir-count sub { font-size: 0.875rem; font-weight: 400; color: var(--ink-3); font-family: var(--font-b); letter-spacing: 0; vertical-align: baseline; margin-left: 6px; }
.stone-dir-browse { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--cta); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap; }
.stone-dir-browse:hover { text-decoration: underline; }
.stone-dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 480px) { .stone-dir-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 640px) { .stone-dir-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
@media (min-width: 960px) { .stone-dir-grid { grid-template-columns: repeat(8, 1fr); } }
.stone-dir-tile { display: block; text-decoration: none; color: inherit; }
.stone-dir-img { aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--surface-2); position: relative; margin-bottom: 7px; }
.stone-dir-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stone-dir-mohs { position: absolute; top: 5px; right: 5px; background: rgba(27,16,64,0.82); color: #fff; font-size: 0.5rem; font-weight: 700; padding: 2px 5px; border-radius: 3px; letter-spacing: 0.04em; line-height: 1.4; }
.stone-dir-name { font-size: 0.6875rem; font-weight: 700; color: var(--ink); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stone-dir-sub { font-size: 0.5625rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.07em; }
.stone-dir-footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 14px; }
.stone-dir-footer-note { font-size: 0.75rem; color: var(--ink-3); }
.stone-dir-all { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 700; color: var(--ink); background: var(--surface-2); border: 1px solid var(--border); padding: 8px 18px; border-radius: var(--r); text-decoration: none; }
.stone-dir-all:hover { border-color: var(--cta); color: var(--cta); }

/* === STONE OF THE DAY === */
.sotd { background: var(--primary); padding: 48px 0; }
.sotd-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 0 16px;
}
.sotd-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.sotd-media-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.05);
}
.sotd-eyebrow {
  display: block;
  color: #B8860B;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.sotd-name {
  font-family: var(--font-h);
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
  margin: 0 0 8px;
}
.sotd-subtitle {
  font-style: italic;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
}
.sotd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.sotd-pill {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 4px;
}
.sotd-cta {
  display: inline-block;
  background: #E8590C;
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--r);
  font-weight: 700;
  text-decoration: none;
}
.sotd-cta:hover { background: #C94A00; color: #fff; }
@media (min-width: 768px) {
  .sotd { padding: 72px 0; }
  .sotd-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .sotd-name { font-size: 3rem; }
}

/* === PULL QUOTE === */
.pull-quote { padding: 48px 16px 16px; display: flex; justify-content: center; }
.pull-quote blockquote { max-width: 780px; position: relative; padding: 20px 8px; }
.pull-quote .pq-mark { color: var(--cta); margin-bottom: 8px; opacity: 0.65; }
.pull-quote p { font-family: var(--font-h); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--ink); letter-spacing: -0.005em; margin-bottom: 14px; }
.pull-quote cite { display: block; font-family: var(--font-b); font-style: normal; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cta); font-weight: 700; }

/* === CHAKRA DOT GLOW === */
.chk-dot-big { box-shadow: 0 0 0 1px var(--border-lt), 0 0 12px 2px currentColor; opacity: 0.95; }
.chk-row:nth-child(1) .chk-dot-big { color: rgba(196,30,58,0.25); }
.chk-row:nth-child(2) .chk-dot-big { color: rgba(232,89,12,0.25); }
.chk-row:nth-child(3) .chk-dot-big { color: rgba(225,173,1,0.25); }
.chk-row:nth-child(4) .chk-dot-big { color: rgba(26,127,66,0.25); }
.chk-row:nth-child(5) .chk-dot-big { color: rgba(31,93,168,0.25); }
.chk-row:nth-child(6) .chk-dot-big { color: rgba(61,43,107,0.3); }
.chk-row:nth-child(7) .chk-dot-big { color: rgba(125,60,152,0.3); }

/* === PORTAL HERO — no decorative animations === */
.portal-hero::after { display: none; }
.portal-hero .portal-hero-inner::after { display: none; }

/* === EYEBROW — solid, no shimmer === */
.eyebrow { color: var(--cta-dk); }

/* === HOME LAYOUT === */
.home-main { padding: 40px 16px 16px; }
.home-main > * + * { margin-top: 48px; }

/* Editorial eyebrow gets a gem diamond accent */
.eyebrow { position: relative; }
.eyebrow::before { content: '\25c6'; color: var(--gold); margin-right: 8px; font-size: 0.8em; vertical-align: 2px; }

/* === HOME EDITORIAL HERO === */
.home-hero-edit { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.home-hero-edit .hero-info h1 { font-size: 2.4rem; line-height: 0.98; letter-spacing: -0.02em; color: var(--primary); margin-bottom: 14px; }
.home-hero-edit .hero-sub { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: var(--ink-2); margin-bottom: 20px; line-height: 1.4; }
.home-hero-edit .hero-img { aspect-ratio: 4/3; box-shadow: 0 24px 48px -12px rgba(27,16,64,0.25); }
.home-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

/* === FEATURED STONE MAGAZINE SPREAD === */
.home-featured-stone { padding: 48px 0; border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); }
.home-featured-stone .hero { margin-top: 20px; }
/* Featured stone hero-info gets a btn upgrade from link-cta */
.home-featured-stone .hero-info { gap: 16px; }
.home-featured-stone .hero-info h3 a { color: var(--ink); }
.home-featured-stone .hero-info h3 a:hover { color: var(--cta); }

/* === COLORS: HEXAGON SWATCH STRIP === */
.colors-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 4px; margin-top: 16px; }
.cs-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; background: transparent; transition: transform 0.2s; text-decoration: none; }
.cs-item:hover { transform: translateY(-4px); }
.cs-sw { width: 56px; height: 64px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15), inset 0 -6px 12px rgba(0,0,0,0.15); transition: transform 0.2s, filter 0.2s; }
.cs-item:hover .cs-sw { transform: rotate(3deg) scale(1.06); filter: brightness(1.1); }
.cs-name { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; color: var(--ink); }
.cs-count { font-size: 0.625rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* === BIRTHSTONE ROW === */
.month-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mo { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; text-decoration: none; }
.mo:hover { transform: translateY(-3px); border-color: var(--cta); box-shadow: 0 6px 14px rgba(0,0,0,0.06); }
.mo-dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3), 0 0 0 1px var(--border-lt); margin-bottom: 2px; }
.mo-m { font-size: 0.625rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }
.mo-stone { font-family: var(--font-h); font-weight: 700; font-size: 0.875rem; color: var(--ink); }

/* === TWO-COL (zodiac + chakra side-by-side on tablet+) === */
.home-two-col { display: grid; grid-template-columns: 1fr; gap: 40px; }

/* Zodiac glyph grid */
.glyph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.glyph-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: transform 0.15s, border-color 0.15s, background 0.15s; text-decoration: none; }
.glyph-item:hover { border-color: var(--primary-lt); background: var(--primary-bg); transform: scale(1.05); }
.glyph { font-size: 1.7rem; color: var(--primary); line-height: 1; }
.glyph-label { font-size: 0.6875rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

/* Chakra vertical rainbow column */
.chk-col { position: relative; padding-left: 36px; margin-top: 12px; }
.chk-col::before { content: ''; position: absolute; left: 14px; top: 14px; bottom: 14px; width: 4px; background: linear-gradient(180deg, #C41E3A 0%, #E8590C 16%, #E1AD01 33%, #1A7F42 50%, #1F5DA8 66%, #3D2B6B 83%, #7D3C98 100%); border-radius: 4px; }
.chk-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; position: relative; text-decoration: none; transition: transform 0.15s; }
.chk-row:hover { transform: translateX(4px); }
.chk-row:hover .chk-name { color: var(--cta); }
.chk-dot-big { position: absolute; left: -26px; top: 12px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--border-lt); }
.chk-name { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; color: var(--ink); transition: color 0.15s; }
.chk-theme { font-size: 0.6875rem; color: var(--ink-3); margin-left: auto; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* === TRUST BAR === */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--border-lt); padding: 20px 0; }
.trust-bar-inner { display: grid; grid-template-columns: 1fr; gap: 14px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.trust-h { font-family: var(--font-h); font-weight: 700; font-size: 0.9375rem; color: var(--primary); margin-bottom: 2px; }
.trust-p { font-size: 0.75rem; color: var(--ink-2); line-height: 1.5; }

/* === COLOR EXPLORER === */
.home-colors .colors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.color-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.color-tile:hover { transform: translateY(-3px); border-color: var(--cta); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.color-swatch { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5), 0 0 0 1px var(--border); }
.color-name { font-family: var(--font-h); font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.color-count { font-size: 0.6875rem; color: var(--ink-3); }

/* === BIRTHSTONES WHEEL === */
.home-birthstones .months-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.month-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color 0.15s, transform 0.15s; }
.month-card:hover { border-color: var(--cta); transform: translateY(-2px); }
.month-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4), 0 0 0 1px var(--border-lt); }
.month-m { font-size: 0.625rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.month-stone { font-family: var(--font-h); font-weight: 700; font-size: 0.875rem; color: var(--ink); }
.month-card > div { display: flex; flex-direction: column; }

/* === EDITORIAL PICK - FULL-BLEED DARK BAND WITH RADIAL GLOW === */
.editorial-pick { background: var(--primary); color: rgba(255,255,255,0.9); padding: 64px 0 72px; position: relative; overflow: hidden; margin: 48px 0; }
.editorial-pick::before { content: ''; position: absolute; left: -10%; top: -20%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(232,89,12,0.22), transparent 60%); pointer-events: none; }
.editorial-pick::after { content: ''; position: absolute; right: -5%; bottom: -30%; width: 50%; height: 100%; background: radial-gradient(circle, rgba(184,134,11,0.18), transparent 60%); pointer-events: none; }
.editorial-pick .section-h { color: #fff; font-size: 2rem; line-height: 1.05; letter-spacing: -0.015em; }
.ep-inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 0 16px; position: relative; z-index: 1; }
a.ep-link { text-decoration: none; color: inherit; display: grid; cursor: pointer; }
a.ep-link:hover .ep-media img { transform: scale(1.02); }
.ep-media img { transition: transform 0.35s ease; }
.ep-cta-btn { display: inline-block; pointer-events: none; }
.ep-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 20px 48px -8px rgba(0,0,0,0.6); }
.ep-body p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 1rem; line-height: 1.7; }
.ep-stats { display: flex; gap: 24px; margin: 16px 0 22px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.ep-stat { text-align: left; }
.ep-stat-n { font-family: var(--font-h); font-weight: 700; font-size: 2rem; color: var(--gold-lt); line-height: 1; }
.ep-stat-l { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* === ZODIAC GRID === */
.home-zodiac .zodiac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zodiac-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.zodiac-card:hover { background: var(--primary-bg); border-color: var(--primary-lt); transform: translateY(-2px); }
.zodiac-glyph { font-size: 1.6rem; color: var(--primary); line-height: 1; }
.zodiac-name { font-family: var(--font-h); font-weight: 700; font-size: 0.875rem; color: var(--ink); }
.zodiac-dates { font-size: 0.6875rem; color: var(--ink-3); }

/* === CHAKRA ROW === */
.chakra-row-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.home-chakra .chakra-row { display: grid; grid-template-columns: repeat(7, minmax(80px, 1fr)); gap: 6px; min-width: 560px; }
.chakra-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform 0.15s, border-color 0.15s; }
.chakra-cell:hover { transform: translateY(-2px); border-color: var(--cta); }
.chakra-dot { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4), 0 0 0 1px var(--border); }
.chakra-name { font-family: var(--font-h); font-weight: 700; font-size: 0.75rem; color: var(--ink); text-align: center; line-height: 1.1; }
.chakra-theme { font-size: 0.625rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }

/* === BLOG LATEST === */
.home-blog .blog-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.blog-card-img { aspect-ratio: 3/2; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.blog-card-body { padding: 16px; }
.blog-cat { display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cta-text); background: var(--cta-bg); padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; }
.blog-card-title { font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; line-height: 1.25; margin-bottom: 6px; color: var(--ink); }
.blog-card-ex { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 10px; }
.blog-meta { font-size: 0.6875rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* === STATS ROW === */
.home-stats { background: var(--bg); padding: 36px 16px; border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.stat { text-align: center; }
.stat-n { font-family: var(--font-h); font-weight: 700; font-size: 1.75rem; color: var(--primary); line-height: 1; }
.stat-l { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-top: 4px; }

/* === ASK A GEMOLOGIST === */
.home-ask { background: var(--gold-bg); border-top: 1px solid var(--gold-lt); border-bottom: 1px solid var(--gold-lt); padding: 40px 0; }
.home-ask-inner { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 0 16px; align-items: center; }
.home-ask p { color: var(--ink-2); margin-bottom: 12px; }
.ask-meta { display: inline-block; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; }

/* === NEWSLETTER === */
.home-newsletter { background: var(--primary); color: #fff; padding: 48px 0; }
.home-newsletter .section-h { color: #fff; }
.home-newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.newsletter-inner { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 0 16px; align-items: center; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input[type=email] { padding: 14px 16px; border: 0; border-radius: 3px; font: inherit; font-size: 0.95rem; }
.newsletter-privacy { font-size: 0.6875rem; color: rgba(255,255,255,0.5); }

/* TABLET+ */
@media (min-width: 768px) {
  body { font-size: 17px; }
  .ad-lb { height: 90px; max-width: 728px; }
  .nav { display: flex; }
  .hdr-search-wrap { display: flex; }
  .hdr-search-wrap .search-form { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--surface-2); }
  .hdr-search-wrap .search-input { border: 0; background: transparent; padding: 6px 12px; font-size: 0.8125rem; color: var(--ink); width: 180px; }
  .hdr-search-wrap .search-input:focus { outline: none; background: var(--surface); }
  .hdr-search-wrap .search-submit { border: 0; border-left: 1px solid var(--border); background: transparent; padding: 6px 12px; cursor: pointer; font-size: 0.8125rem; color: var(--ink-3); white-space: nowrap; }
  .hdr-search-wrap .search-submit:hover { background: var(--surface); color: var(--ink); }
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
  .hero-info { margin-top: 0; }
  .hero-info h1 { font-size: 2rem; }
  .match-cols { grid-template-columns: 1fr 1fr; }
  .prods { grid-template-columns: 1fr 1fr; }
  .prod { flex-direction: column; }
  .prod-img { width: 100%; min-height: 0; aspect-ratio: 1; }
  .pairs { grid-template-columns: repeat(4, 1fr); }
  /* Cap at 4 on desktop — prevents single orphan on row 2 */
  .pair:nth-child(n+5) { display: none; }
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .origin-grid { grid-template-columns: 1fr 1fr; }

  /* Home editorial — tablet */
  .home-hero-edit { grid-template-columns: 1fr 1fr; gap: 36px; }
  .home-hero-edit .hero-info h1 { font-size: 3.2rem; }
  .colors-strip { grid-template-columns: repeat(6, 1fr); }
  .month-row { grid-template-columns: repeat(6, 1fr); }
  .home-two-col { grid-template-columns: 1.1fr 1fr; gap: 44px; }
  .glyph-grid { grid-template-columns: repeat(4, 1fr); }
  .editorial-pick { padding: 80px 0 88px; }
  .editorial-pick .section-h { font-size: 2.6rem; }
  .ep-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .anatomy-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .pull-quote p { font-size: 1.75rem; }
  .stone-gallery-grid { grid-template-columns: repeat(4, 1fr); }

  /* Portal hero tablet */
  .portal-hero-inner { grid-template-columns: 1.2fr 1fr; padding: 48px 48px 40px 16px; gap: 48px; }
  .portal-hero-text h1 { font-size: 3.5rem; }
  .portal-hero-sub { font-size: 1.2rem; }
  .ppb-inner { padding: 18px 16px; gap: 18px 36px; }
  .portal-tri { grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; }
  .month-grid { grid-template-columns: repeat(3, 1fr); }
  .glyph-grid { grid-template-columns: repeat(3, 1fr); }
  /* Intent grid: 3 columns on tablet */
  .intent-grid { grid-template-columns: repeat(3, 1fr); }

  /* Mega menu becomes inline horizontal */
  .hdr-burger { display: none; }
  /* ══════════════════════════════════════════
     DESKTOP MEGA MENU — polished
  ══════════════════════════════════════════ */
  .mega-nav { display: block; position: static; padding: 0; background: transparent; overflow: visible; }
  .mega-list-top { flex-direction: row; padding: 0; gap: 0; align-items: center; }
  .mega-item { border: 0; position: relative; }
  /* Trigger */
  .mega-trigger { padding: 6px 13px; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); gap: 4px; border-radius: 6px; border-bottom: none; transition: background 0.12s, color 0.12s; white-space: nowrap; letter-spacing: 0.01em; }
  .mega-trigger:hover, .mega-item:hover > .mega-trigger, .mega-item:focus-within > .mega-trigger { color: var(--primary); background: var(--primary-bg); }
  .mega-caret { font-size: 0.5em; opacity: 0.4; transition: transform 0.2s; }
  .mega-item:hover .mega-caret, .mega-item:focus-within .mega-caret { transform: rotate(180deg); opacity: 0.7; }
  /* Panel — JS adds/removes .mega-open class */
  .mega-panel { display: block; visibility: hidden; opacity: 0; pointer-events: none; position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border-radius: 12px; border: 1px solid rgba(0,0,0,0.08); border-top: 3px solid var(--cta); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 20px 48px rgba(27,16,64,0.13); z-index: 200; padding: 0; overflow: hidden; min-width: max-content; transition: opacity 0.15s, visibility 0.15s; }
  .mega-item.mega-open .mega-panel { visibility: visible; opacity: 1; pointer-events: auto; }
  /* Columns grid */
  .mega-cols-grid { display: grid; grid-template-columns: repeat(var(--mega-cols, 3), minmax(160px, auto)); gap: 0; padding: 22px 8px 20px; }
  .mega-col { padding: 0 22px; border-right: 1px solid #f0eeeb; }
  .mega-col:first-child { padding-left: 20px; }
  .mega-col:last-child { border-right: none; padding-right: 20px; }
  /* Column header — orange label, uppercase, spaced */
  .mega-col-h { font-family: var(--font-b); font-size: 0.6rem; font-weight: 800; color: var(--cta); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f0eeeb; display: block; }
  /* Links */
  .mega-col-list { list-style: none; }
  .mega-col-list li { padding: 0; }
  .mega-col-list a { color: var(--ink-2); font-size: 0.875rem; font-weight: 400; padding: 5px 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; transition: color 0.12s; position: relative; }
  .mega-col-list a::after { content: '→'; font-size: 0.7rem; color: var(--cta); margin-left: auto; padding-left: 12px; opacity: 0; transform: translateX(-6px); transition: opacity 0.15s, transform 0.15s; }
  .mega-col-list a:hover { color: var(--primary); }
  .mega-col-list a:hover::after { opacity: 1; transform: translateX(0); }
  /* Icons */
  .mega-dot { flex-shrink: 0; }
  .mega-zicon { flex-shrink: 0; opacity: 0.55; display: flex; color: var(--primary); transition: opacity 0.12s; }
  .mega-zicon svg { display: block; width: 18px; height: 18px; }
  .mega-col-list a:hover .mega-zicon { opacity: 1; color: var(--cta); }

  /* Homepage sized for tablet */
  .home-hero { padding: 48px 0 56px; }
  .home-hero-inner { grid-template-columns: 1.1fr 1fr; gap: 36px; }
  .home-hero-text h1 { font-size: 2.75rem; }
  .home-hero-card { margin-top: -36px; }
  .shop-by-grid { grid-template-columns: repeat(2, 1fr); }
  .intent-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .home-eeat-inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .eeat-authors { flex-direction: column; }
}

/* DESKTOP - sidebar sticky */
@media (min-width: 1024px) {
  .layout { flex-direction: row; gap: 40px; }
  .content { flex: 1; min-width: 0; }
  .sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; }
  .hero-info h1 { font-size: 2.125rem; }
  .prods { grid-template-columns: repeat(3, 1fr); }

  .home-hero-text h1 { font-size: 3.25rem; }
  .shop-by-grid { grid-template-columns: repeat(4, 1fr); }
  .intent-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(4, 1fr); }
  .tools-grid { grid-template-columns: repeat(4, 1fr); }

  /* Home editorial — desktop */
  .home-main { padding: 64px 16px 24px; }
  .home-hero-edit .hero-info h1 { font-size: 4.5rem; line-height: 0.94; }
  .home-hero-edit .hero-sub { font-size: 1.25rem; }
  .colors-strip { grid-template-columns: repeat(12, 1fr); }
  .month-row { grid-template-columns: repeat(12, 1fr); }
  .glyph-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-pick .section-h { font-size: 3.2rem; }

  .anatomy-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(5, 1fr); grid-auto-rows: 200px; }
  .pull-quote p { font-size: 2.1rem; line-height: 1.25; }

  /* Portal hero desktop */
  .portal-hero-inner { padding: 52px 56px 48px 16px; gap: 56px; }
  .portal-hero-text h1 { font-size: 5rem; line-height: 0.93; letter-spacing: -0.03em; }
  .portal-hero-sub { font-size: 1.4rem; }
  .portal-tri { grid-template-columns: 1.3fr 1fr 1.1fr; gap: 48px; padding: 48px 16px 64px; }
  /* Intent: up to 3 cols on desktop — more if there are more cards */
  .intent-grid { grid-template-columns: repeat(3, 1fr); }
}

/* PRINT */
@media print {
  .hdr, .sidebar, .ad, .ftr, .prods, .sb-cta, .series, .preview-banner { display: none !important; }
  .layout { flex-direction: column; }
  body { font-size: 11pt; }
}

/* ── Hub page typography & content width ─────────────────────────── */
.page-main { max-width: 880px; margin: 0 auto; padding: 32px 16px 48px; }
.page-article > p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.2em; max-width: 68ch; }
.page-article > h2 { font-family: var(--font-b); font-size: 1.15rem; font-weight: 800; margin-top: 48px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--primary); text-transform: uppercase; letter-spacing: 0.08em; }
.page-article > h3 { font-size: 1rem; font-weight: 700; margin-top: 28px; margin-bottom: 12px; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.page-article > ol { font-size: 1rem; line-height: 1.7; color: var(--ink-2); margin: 20px 0 32px; padding: 20px 24px 20px 20px; list-style: none; max-width: 100%; background: var(--surface-2); border-radius: var(--r); counter-reset: hub-ol; }
.page-article > ol > li { margin-bottom: 14px; padding-left: 2.8em; position: relative; counter-increment: hub-ol; }
.page-article > ol > li:last-child { margin-bottom: 0; }
.page-article > ol > li::before { content: counter(hub-ol); position: absolute; left: 0; top: 2px; width: 1.6em; height: 1.6em; background: transparent; border: 1.5px solid var(--primary); color: var(--primary); font-size: 0.7rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; font-family: var(--font-b); letter-spacing: 0; }
.page-article > ul { font-size: 1rem; line-height: 1.75; color: var(--ink-2); margin: 20px 0 32px; padding: 0; list-style: none; max-width: 72ch; background: none; border-left: none; border-radius: 0; }
.page-article > ul > li { margin-bottom: 12px; padding-left: 1.4em; position: relative; }
.page-article > ul > li:last-child { margin-bottom: 0; }
.page-article > ul > li::before { content: '—'; position: absolute; left: 0; top: 0; color: var(--cta); font-weight: 700; font-size: 0.9rem; }
.stone-grid-heading { text-align: center; font-size: 1.15rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin: 20px 0 16px; border: 0; padding: 0; }
.stone-card-ph { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--primary-lt), var(--primary)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.25); font-family: var(--font-h); font-size: 4rem; font-weight: 700; }

/* ── Eyebrow on dark backgrounds (chakra/zodiac/birthstone heroes) ─── */
.eyebrow-on-dark { color: rgba(255,255,255,0.72) !important; -webkit-text-fill-color: rgba(255,255,255,0.72); }
.eyebrow-on-dark::before { color: rgba(255,255,255,0.8); -webkit-text-fill-color: rgba(255,255,255,0.8); }

/* ── CHAKRA hub renderer ───────────────────────────────────────────── */
.chakra-hero { background: linear-gradient(135deg, var(--chk-color, #3D2B6B) 0%, #1B1040 100%); color: #fff; padding: 48px 20px 56px; border-radius: var(--r-lg); margin: 0 0 28px; position: relative; overflow: hidden; }
.chakra-hero::before { content: ''; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); pointer-events: none; }
.chakra-hero-inner { display: flex; align-items: center; gap: 28px; position: relative; z-index: 1; max-width: 720px; }
.chakra-glyph { flex-shrink: 0; }
.chakra-dot-xl { display: block; width: 96px; height: 96px; border-radius: 50%; background: var(--chk-color, #3D2B6B); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25), 0 0 0 6px rgba(255,255,255,0.08), 0 0 40px 8px rgba(255,255,255,0.15); }
.chakra-hero-text { min-width: 0; }
.chakra-h1 { font-family: var(--font-h); font-size: 2.6rem; line-height: 1.05; color: #fff; margin: 6px 0 8px; }
.chakra-sanskrit { font-family: var(--font-h); font-style: italic; font-size: 1.15rem; color: rgba(255,255,255,0.82); margin: 0; }
.chk-dot-sep { opacity: 0.5; margin: 0 6px; }
.chakra-intro p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; max-width: 68ch; }
.chakra-soft-note { background: var(--primary-bg); border-left: 3px solid var(--primary-lt); padding: 14px 18px; border-radius: 0 var(--r-lg) var(--r-lg) 0; margin: 20px 0 32px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.chakra-soft-note strong { color: var(--primary); }
.chakra-footer-note { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--border-lt); font-size: 0.75rem; color: var(--ink-3); }
@media (max-width: 600px) {
  .chakra-hero { padding: 32px 18px 40px; }
  .chakra-hero-inner { gap: 18px; }
  .chakra-dot-xl { width: 64px; height: 64px; }
  .chakra-h1 { font-size: 1.9rem; }
}

/* ── BIRTHSTONE hub renderer ───────────────────────────────────────── */
.month-hero { background: linear-gradient(180deg, var(--month-accent, #3D2B6B) 0%, #1B1040 100%); color: #fff; padding: 56px 24px; border-radius: var(--r-lg); margin: 0 0 28px; text-align: center; }
.month-hero-inner { max-width: 720px; margin: 0 auto; }
.month-h1 { font-family: var(--font-h); font-size: 2.8rem; line-height: 1.05; color: #fff; margin: 8px 0 10px; }
.month-tag { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,0.8); margin: 0; }
.month-intro p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; max-width: 68ch; }
.birthstone-occasions { background: var(--gold-bg); border: 1px solid var(--gold-lt); border-radius: var(--r-lg); padding: 18px 22px; margin: 40px 0 20px; }
.birthstone-occasions strong { display: block; margin-bottom: 10px; color: var(--gold); font-family: var(--font-h); font-size: 1rem; }
.occasion-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.occasion-pill { background: var(--surface); border: 1px solid var(--gold-lt); border-radius: 6px; padding: 6px 14px; font-size: 0.8125rem; color: var(--gold); font-weight: 600; }

/* ── COLOR hub renderer ─────────────────────────────────────────────── */
.color-hero { display: flex; flex-direction: column; gap: 16px; margin: 0 0 28px; }
.color-hero-inner { display: flex; align-items: center; gap: 24px; }
.color-swatch-xl { display: inline-block; width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 3px rgba(255,255,255,0.5), 0 0 0 1px var(--border), 0 8px 24px rgba(0,0,0,0.15); }
.color-h1 { font-family: var(--font-h); font-size: 2.5rem; line-height: 1.05; color: var(--primary); margin: 4px 0 10px; }
.color-intro { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.color-mosaic-wrap { margin: 16px 0 40px; }
.color-mosaic-title { font-family: var(--font-h); font-size: 1.5rem; color: var(--primary); margin-bottom: 16px; border: 0; padding: 0; }
@media (max-width: 600px) {
  .color-hero-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .color-swatch-xl { width: 80px; height: 80px; }
  .color-h1 { font-size: 1.9rem; }
}

/* ── CRYSTALS-FOR hub renderer ─────────────────────────────────────── */
.crystals-for-disclaimer { background: var(--primary-bg); border-left: 3px solid var(--primary-lt); padding: 16px 20px; border-radius: 0 var(--r-lg) var(--r-lg) 0; margin: 0 0 24px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.crystals-for-disclaimer strong { color: var(--primary); }
.cf-hero { margin: 0 0 28px; }
.cf-h1 { font-family: var(--font-h); font-size: 2.6rem; line-height: 1.05; color: var(--primary); margin: 6px 0 12px; }
.cf-intro p { font-size: 1.0rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; }
.cf-top3 { margin: 24px 0 40px; }
.cf-top3-heading { font-family: var(--font-h); font-size: 1.5rem; color: var(--primary); margin-bottom: 18px; border: 0; padding: 0; }
.cf-top3-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cf-top3-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.cf-top3-card:hover { transform: translateY(-3px); border-color: var(--cta); box-shadow: 0 12px 32px rgba(232,89,12,0.15); }
.cf-top3-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.cf-top3-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cf-top3-body { padding: 16px 18px 20px; }
.cf-rank { display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cta-text); background: var(--cta-bg); padding: 4px 10px; border-radius: 3px; margin-bottom: 8px; }
.cf-top3-name { font-family: var(--font-h); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.cf-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-lt), var(--primary)); }
@media (min-width: 768px) {
  .cf-top3-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── ZODIAC hub renderer ────────────────────────────────────────────── */
.zodiac-hero { background: linear-gradient(135deg, #1B1040 0%, #3D2B6B 100%); color: #fff; padding: 48px 24px 32px; border-radius: var(--r-lg); margin: 0 0 28px; position: relative; overflow: hidden; }
.zodiac-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(184,134,11,0.16), transparent 60%); pointer-events: none; }
.zodiac-hero-inner { display: flex; align-items: center; gap: 24px; position: relative; z-index: 1; }
.zodiac-glyph-xl { font-family: var(--font-h); font-size: 5.5rem; color: var(--gold-lt); line-height: 1; flex-shrink: 0; }
.zodiac-h1 { font-family: var(--font-h); font-size: 2.6rem; line-height: 1.05; color: #fff; margin: 6px 0 6px; }
.zodiac-dates { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,0.78); margin: 0; }
.zodiac-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 1; }
.zg-cell { display: flex; flex-direction: column; gap: 2px; }
.zg-k { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); font-weight: 600; }
.zg-v { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; color: var(--gold-lt); }
.zodiac-intro p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; max-width: 68ch; }

/* ── HUB-MASTER tiles ──────────────────────────────────────────────── */
.hub-master-hero { margin: 0 0 24px; }
.hub-master-h1 { font-family: var(--font-h); font-size: 2.8rem; line-height: 1.05; color: var(--primary); margin: 8px 0 12px; }
.hub-master-intro p { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 1em; max-width: 70ch; }
.hub-master-tiles { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 20px 0 40px; }
.hm-tile { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.hm-tile:hover { transform: translateY(-3px); border-color: var(--cta); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.hm-tile-img { aspect-ratio: 3/2; overflow: hidden; background: var(--surface-2); }
.hm-tile-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hm-tile-ph { background: linear-gradient(135deg, var(--primary-lt), var(--primary)); }
.hm-tile-body { padding: 14px 16px 16px; }
.hm-tile-name { font-family: var(--font-h); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
@media (min-width: 640px) { .hub-master-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .hub-master-tiles { grid-template-columns: repeat(3, 1fr); } }

/* ── ELEMENT hub ───────────────────────────────────────────────────── */
.element-hero { color: #fff; padding: 48px 24px; border-radius: var(--r-lg); margin: 0 0 28px; position: relative; overflow: hidden; }
.element-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 60%); pointer-events: none; }
.element-hero-inner { display: flex; align-items: center; gap: 24px; position: relative; z-index: 1; }
.element-glyph { font-size: 5rem; line-height: 1; flex-shrink: 0; }
.element-h1 { font-family: var(--font-h); font-size: 2.6rem; line-height: 1.05; color: #fff; margin: 6px 0 8px; }
.element-tagline { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,0.82); margin: 0; }
.element-intro p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; max-width: 68ch; }

/* ── GUIDE hub ─────────────────────────────────────────────────────── */
.guide-hero { margin: 0 0 24px; padding: 28px 0 0; }
.guide-h1 { font-family: var(--font-h); font-size: 2.6rem; line-height: 1.05; color: var(--primary); margin: 6px 0 10px; }
.guide-intro p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; max-width: 68ch; }
.guide-summary { background: var(--gold-bg); border-left: 4px solid var(--gold); border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 20px 24px; margin: 16px 0 32px; }
.guide-summary-title { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.guide-summary ul { list-style: none; margin: 0; padding: 0; }
.guide-summary li { position: relative; padding-left: 1.8em; margin-bottom: 8px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.guide-summary li::before { content: '\2713'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── TOOL hub ──────────────────────────────────────────────────────── */
.tool-hero { margin: 0 0 20px; padding: 28px 0 0; }
.tool-h1 { font-family: var(--font-h); font-size: 2.6rem; line-height: 1.05; color: var(--primary); margin: 6px 0 10px; }
.tool-intro p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; max-width: 68ch; }
.tool-widget { background: var(--primary-bg); border: 2px dashed var(--primary-lt); border-radius: var(--r-lg); padding: 36px 24px; text-align: center; margin: 24px 0 40px; }
.tool-widget-icon { color: var(--primary); margin-bottom: 10px; display: inline-flex; }
.tool-widget-title { font-family: var(--font-h); font-weight: 700; font-size: 1.25rem; color: var(--primary); margin-bottom: 8px; }
.tool-widget p { font-size: 0.9375rem; color: var(--ink-2); margin: 0 auto; max-width: 540px; }

/* ── JEWELRY hub ───────────────────────────────────────────────────── */
.jewelry-hero { background: linear-gradient(180deg, var(--gold-bg) 0%, #F8F0DC 100%); border: 1px solid var(--gold-lt); border-radius: var(--r-lg); padding: 40px 28px; margin: 0 0 24px; text-align: center; }
.jewelry-h1 { font-family: var(--font-h); font-size: 2.8rem; line-height: 1.05; color: var(--primary); margin: 8px 0 10px; }
.jewelry-tagline { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: var(--gold); margin: 0; }
.jewelry-aff-note { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; margin: 0 0 24px; font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }
.jewelry-aff-note strong { color: var(--gold); }
.jewelry-intro p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; max-width: 68ch; }

/* ── MANDATORY (about/privacy/terms) ───────────────────────────────── */
.mandatory-hero { margin: 0 0 20px; padding: 12px 0 0; border-bottom: 2px solid var(--primary); padding-bottom: 16px; }
.mandatory-h1 { font-family: var(--font-h); font-size: 2.4rem; line-height: 1.1; color: var(--primary); margin: 4px 0 8px; text-transform: uppercase; letter-spacing: 0.01em; }
.mandatory-intro p { font-family: var(--font-h); font-style: italic; font-size: 1.1rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.mandatory-body { font-size: 1rem; line-height: 1.8; color: var(--ink-2); }
.mandatory-body h2 { font-size: 1.4rem; margin-top: 32px; margin-bottom: 12px; color: var(--primary); border-bottom: 1px solid var(--border-lt); padding-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.mandatory-body h3 { font-size: 1.1rem; margin-top: 22px; margin-bottom: 8px; color: var(--primary-lt); text-transform: uppercase; letter-spacing: 0.02em; }
.mandatory-body p { max-width: 72ch; margin-bottom: 1em; }
.mandatory-body ul, .mandatory-body ol { max-width: 72ch; margin-left: 1.4em; }
.mandatory-footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border-lt); font-size: 0.8125rem; color: var(--ink-3); text-align: center; }
.mandatory-footer a { font-weight: 600; }

/* ── Numbered stone cards (hub page detail list) ───────────────────── */
.numbered-stones { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 28px 0 40px; }
.ns-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.ns-row:hover { transform: translateY(-2px); border-color: var(--cta); box-shadow: 0 10px 24px rgba(27,16,64,0.08); }
.ns-thumb { display: block; width: 120px; height: 120px; border-radius: var(--r-lg); overflow: hidden; flex-shrink: 0; }
.ns-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ns-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-lt), var(--primary)); display: flex; align-items: center; justify-content: center; color: var(--gold-lt); font-family: var(--font-h); font-size: 3rem; font-weight: 700; }
.ns-body { min-width: 0; }
.ns-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.ns-n { font-family: var(--font-b); font-size: 1rem; font-weight: 800; color: var(--ink-3); line-height: 1; min-width: 28px; text-transform: uppercase; letter-spacing: 0.04em; }
.ns-name { font-family: var(--font-b); font-size: 1rem; font-weight: 700; margin: 0; padding: 0; border: 0; color: var(--ink); }
.ns-name a { color: inherit; }
.ns-name a:hover { color: var(--cta); }
.ns-text { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-2); }
.ns-text a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--border); }
.ns-text a:hover { color: var(--primary); }
.ns-text p { margin: 0; }
@media (max-width: 600px) {
  .ns-row { grid-template-columns: 80px 1fr; gap: 14px; padding: 12px; }
  .ns-thumb { width: 80px; height: 80px; }
  .ns-n { font-size: 1.5rem; min-width: 24px; }
  .ns-name { font-size: 1rem; }
}

/* ── Taxonomy archive & stone grid ─────────────────────────────────── */
.tax-archive { padding: 2rem 0 4rem; }
.tax-hero { text-align: center; padding: 3rem 1rem 2rem; }
.tax-hero .eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold); margin-bottom: .5rem; }
.tax-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
.tax-desc { max-width: 60ch; margin: 0 auto; color: var(--c-muted, #666); }
.stone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; padding: 2rem 0; }
.stone-card { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: var(--c-surface, #fff); box-shadow: 0 2px 8px rgba(0,0,0,.08); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.stone-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.stone-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.stone-card-name { padding: .75rem 1rem; font-weight: 600; font-size: .95rem; }

/* ── Visual density helpers (pair placeholder, origin placeholder, keyfact, gem divider) ──────────── */
/* Pair thumbnail initials when no image is available. Background gets inline canonical-color gradient. */
.pair-img-empty { background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.pair-init { font-family: var(--font-h); font-weight: 700; font-size: 0.95rem; color: #fff; letter-spacing: 0.02em; text-shadow: 0 1px 2px rgba(0,0,0,0.18); line-height: 1; }

/* Origin card placeholder — gradient + country flag emoji, same footprint as .origin-card img (100x80). */
.origin-ph { width: 100px; height: 80px; flex-shrink: 0; border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.origin-flag { font-size: 2.4rem; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.18)); }
.origin-flag-inline { margin-right: 4px; font-size: 1.05em; }
@media (max-width: 767px) { .origin-ph { width: 80px; height: 60px; } .origin-flag { font-size: 2rem; } }

/* Keyfact pair — two cards side by side on tablet+ */
.keyfact-pair { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 24px 0; }
@media (min-width: 600px) { .keyfact-pair { grid-template-columns: 1fr 1fr; } }
.keyfact-pair .keyfact { margin: 0; }
/* Price tier badge inside comparison table */
.price-tier-badge { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 0.02em; }
.tier-budget  { color: #155E30; background: rgba(26,127,66,0.08); }
.tier-mid     { color: var(--gold-dk); background: rgba(184,134,11,0.08); }
.tier-premium { color: var(--cta-btn); background: rgba(232,89,12,0.07); }
.tier-luxury  { color: var(--primary-lt); background: rgba(61,43,107,0.07); }
/* Keyfact — mineral reference data card. Horizontal: icon | label + value + context note. */
.keyfact { margin: 24px 0; display: flex; align-items: flex-start; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border-lt); border-top: 3px solid var(--primary-lt); box-shadow: 0 2px 8px rgba(0,0,0,0.05); background: var(--surface); }
.kf-icon { flex-shrink: 0; width: 52px; display: flex; align-items: center; justify-content: center; padding: 20px 0; background: var(--surface-2); color: var(--primary-lt); border-right: 1px solid var(--border-lt); }
.kf-body { flex: 1; padding: 14px 20px 14px 18px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kf-label { font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--ink-2); }
.kf-value { font-family: var(--font-h); font-size: 1.6rem; font-weight: 700; line-height: 1.15; color: var(--ink); margin-top: 1px; }
.kf-value a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kf-note { font-size: 0.75rem; color: var(--ink-2); margin-top: 4px; line-height: 1.4; font-style: italic; }
@media (min-width: 768px) { .kf-value { font-size: 1.85rem; } }

/* Homepage gallery-tile placeholder — when a slug's image isn't in registry yet. */
.gallery-tile-ph { width: 100%; height: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.25); }
.gallery-tile-ph span { font-family: var(--font-h); font-size: 3.5rem; font-weight: 700; text-shadow: 0 2px 6px rgba(0,0,0,0.18); }

/* Gem divider — visual beat between h2 sections when no image available. */
.gem-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 40px auto; max-width: 240px; opacity: 0.85; }
.gem-divider .gd-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold-lt), transparent); }
.gem-divider svg { color: var(--gold); opacity: 1; flex-shrink: 0; }

/* ── canonical_color → background class (replaces inline style= injection) ─── */
.gr-color-red       { background: linear-gradient(135deg, #E86B84, #C41E3A); }
.gr-color-pink      { background: linear-gradient(135deg, #F3C2DC, #E08AB7); }
.gr-color-orange    { background: linear-gradient(135deg, #F5A36B, #E8590C); }
.gr-color-yellow    { background: linear-gradient(135deg, #F0D86A, #E1AD01); }
.gr-color-gold      { background: linear-gradient(135deg, #D4A843, #B8860B); }
.gr-color-green     { background: linear-gradient(135deg, #5BB37F, #1A7F42); }
.gr-color-teal      { background: linear-gradient(135deg, #66C9BE, #2A9D8F); }
.gr-color-blue      { background: linear-gradient(135deg, #5B8FC9, #1F5DA8); }
.gr-color-indigo    { background: linear-gradient(135deg, #6F5CA3, #3D2B6B); }
.gr-color-purple    { background: linear-gradient(135deg, #B084CC, #7D3C98); }
.gr-color-violet    { background: linear-gradient(135deg, #BA8FD6, #8A4FB3); }
.gr-color-lavender  { background: linear-gradient(135deg, #D9C6EB, #B497D6); }
.gr-color-black     { background: linear-gradient(135deg, #4A4A4A, #1B1B1B); }
.gr-color-white     { background: linear-gradient(135deg, #FFFFFF, #F2F2EE); }
.gr-color-colorless { background: linear-gradient(135deg, #F7F5F0, #E6E3DD); }
.gr-color-gray      { background: linear-gradient(135deg, #B8B8B8, #808080); }
.gr-color-brown     { background: linear-gradient(135deg, #A07B65, #6B4C3B); }
.gr-color-multi     { background: linear-gradient(135deg, #9B59B6, #E8590C, #1A7F42); }
.gr-color-rainbow   { background: linear-gradient(135deg, #9B59B6, #1A7F42); }
.gr-color-default   { background: linear-gradient(135deg, #6F5CA3, #3D2B6B); }

/* keyfact: reset gradient bg from color class, apply only to top border + icon */
.keyfact[class*="gr-color-"] { background: var(--surface-2) !important; }
.keyfact.gr-color-red      { border-top-color: #C41E3A !important; } .keyfact.gr-color-red      .kf-icon { color: #C41E3A; background: rgba(196,30,58,0.06); }
.keyfact.gr-color-pink     { border-top-color: #E08AB7 !important; } .keyfact.gr-color-pink     .kf-icon { color: #E08AB7; background: rgba(224,138,183,0.08); }
.keyfact.gr-color-orange   { border-top-color: #E8590C !important; } .keyfact.gr-color-orange   .kf-icon { color: #E8590C; background: rgba(232,89,12,0.06); }
.keyfact.gr-color-yellow   { border-top-color: #E1AD01 !important; } .keyfact.gr-color-yellow   .kf-icon { color: #E1AD01; background: rgba(225,173,1,0.07); }
.keyfact.gr-color-gold     { border-top-color: #B8860B !important; } .keyfact.gr-color-gold     .kf-icon { color: #B8860B; background: rgba(184,134,11,0.07); }
.keyfact.gr-color-green    { border-top-color: #1A7F42 !important; } .keyfact.gr-color-green    .kf-icon { color: #1A7F42; background: rgba(26,127,66,0.07); }
.keyfact.gr-color-teal     { border-top-color: #2A9D8F !important; } .keyfact.gr-color-teal     .kf-icon { color: #2A9D8F; background: rgba(42,157,143,0.07); }
.keyfact.gr-color-blue     { border-top-color: #1F5DA8 !important; } .keyfact.gr-color-blue     .kf-icon { color: #1F5DA8; background: rgba(31,93,168,0.07); }
.keyfact.gr-color-indigo   { border-top-color: #3D2B6B !important; } .keyfact.gr-color-indigo   .kf-icon { color: #3D2B6B; background: rgba(61,43,107,0.07); }
.keyfact.gr-color-purple   { border-top-color: #7D3C98 !important; } .keyfact.gr-color-purple   .kf-icon { color: #7D3C98; background: rgba(125,60,152,0.07); }
.keyfact.gr-color-violet   { border-top-color: #8A4FB3 !important; } .keyfact.gr-color-violet   .kf-icon { color: #8A4FB3; background: rgba(138,79,179,0.07); }
.keyfact.gr-color-lavender { border-top-color: #B497D6 !important; } .keyfact.gr-color-lavender .kf-icon { color: #B497D6; background: rgba(180,151,214,0.09); }
.keyfact.gr-color-black    { border-top-color: #3D3D3D !important; } .keyfact.gr-color-black    .kf-icon { color: #3D3D3D; }
.keyfact.gr-color-white,
.keyfact.gr-color-colorless { border-left-color: var(--border); background: var(--surface); }
.keyfact.gr-color-gray     { border-left-color: #808080; background: var(--surface); }
.keyfact.gr-color-brown    { border-left-color: #6B4C3B; background: var(--surface); }
.keyfact.gr-color-multi    { border-left-color: #9B59B6; background: var(--surface); }

/* element hub hero backgrounds (replace inline style) */
.element-earth { background: linear-gradient(135deg, #3E2A18 0%, #6B4C3B 100%); }
.element-fire  { background: linear-gradient(135deg, #7F1F1F 0%, #C41E3A 100%); }
.element-air   { background: linear-gradient(135deg, #143A6C 0%, #1F5DA8 100%); }
.element-water { background: linear-gradient(135deg, #0E4D5E 0%, #2C8BA6 100%); }

/* BUMP TOO-SMALL TEXTS — body content readable at normal screen distance */
.pair-why        { font-size: 0.75rem; }     /* was 0.625rem */
.ib-label        { font-size: 0.6875rem; letter-spacing: 0.06em; }  /* was 0.625rem */
.pb-labels       { font-size: 0.6875rem; }   /* was 0.625rem */
.eyebrow         { font-size: 0.75rem; letter-spacing: 0.1em; }     /* was 0.6875rem */
.month-m, .mo-m  { font-size: 0.6875rem; }   /* was 0.625rem */
.cs-count, .color-count, .chakra-theme { font-size: 0.75rem; }


/* === HEALING LANES — visual rhythm between emotional / spiritual / physical === */
.healing-lane { margin: 28px 0; padding: 20px 22px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-lt); border-left: 4px solid var(--primary-lt); transition: box-shadow 0.2s; }
.healing-lane + .healing-lane { margin-top: 20px; }
.healing-lane:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.healing-lane-h3 { font-family: var(--font-h); font-size: 1.35rem; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.healing-lane-icon { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; flex-shrink: 0; }
.healing-lane-body p { margin: 0 0 12px; line-height: 1.65; }
.healing-lane-body p:last-child { margin-bottom: 0; }
.healing-lane-body a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.healing-lane-emotional { border-left-color: #E08AB7; }
.healing-lane-emotional .healing-lane-icon { background: #E08AB7; }
.healing-lane-spiritual { border-left-color: #7D3C98; }
.healing-lane-spiritual .healing-lane-icon { background: #7D3C98; }
.healing-lane-physical { border-left-color: #1A7F42; }
.healing-lane-physical .healing-lane-icon { background: #1A7F42; }
@media (min-width: 768px) {
  .healing-lane { padding: 26px 28px 28px; }
  .healing-lane-h3 { font-size: 1.5rem; }
}

/* === BIRTHSTONE HUB (magazine-grade) === */
.bm-hero { margin: 0 0 40px; padding: 40px 24px 44px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--bm-tint, #EDEAF4) 0%, #fff 100%); position: relative; overflow: hidden; }
.bm-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--bm-accent, var(--primary)); }
.bm-hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.bm-hero-text { order: 2; }
.bm-hero-media { order: 1; justify-self: center; }
.bm-season { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--bm-accent, var(--primary)); margin-bottom: 8px; padding: 4px 12px; border: 1px solid var(--bm-accent, var(--primary)); border-radius: 6px; background: #fff; }
.bm-h1 { font-family: var(--font-h); font-size: 2.25rem; line-height: 1.02; color: var(--ink); margin: 8px 0 14px; letter-spacing: -0.02em; }
.bm-tag { font-size: 1rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 20px; max-width: 44ch; }
.bm-tag strong { color: var(--bm-accent, var(--primary)); font-weight: 700; }
.bm-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; margin: 18px 0 22px; padding: 14px 16px; background: #fff; border: 1px solid var(--border-lt); border-radius: var(--r-lg); max-width: 440px; }
.bm-fact dt { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 700; margin-bottom: 2px; }
.bm-fact dd { font-family: var(--font-h); font-size: 1rem; color: var(--ink); margin: 0; line-height: 1.2; }
.bm-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.bm-cta .btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 6px; font-weight: 600; font-size: 0.875rem; text-decoration: none; transition: transform 0.12s, box-shadow 0.12s; }
.bm-cta .btn-primary { background: var(--bm-accent, var(--primary)); color: #fff; }
.bm-cta .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.16); }
.bm-cta .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.bm-cta .btn-ghost:hover { border-color: var(--bm-accent, var(--primary)); color: var(--bm-accent, var(--primary)); }
.bm-hero-frame { width: min(300px, 80vw); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 18px 48px rgba(0,0,0,0.16), 0 0 0 8px #fff, 0 0 0 10px var(--bm-accent, var(--primary)); }
.bm-hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-hero-frame-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bm-accent, var(--primary)), var(--bm-tint, #fff)); color: #fff; font-family: var(--font-h); font-size: 7rem; font-weight: 700; }
.bm-intro { font-size: 1.05rem; line-height: 1.7; color: var(--ink); max-width: 68ch; margin: 0 auto 36px; }
.bm-intro p { margin-bottom: 1em; }
.bm-intro p:last-child { margin-bottom: 0; }
.bm-occasions { margin: 48px 0 24px; padding: 28px 24px; background: var(--bm-tint, var(--surface-2)); border-radius: var(--r-lg); text-align: center; }
.bm-occ-h3 { font-family: var(--font-h); font-size: 1.25rem; margin: 0 0 14px; color: var(--ink); }
.bm-occ-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bm-occ-pill { background: #fff; border: 1px solid var(--border); padding: 8px 16px; border-radius: 6px; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }
@media (min-width: 768px) {
  .bm-hero { padding: 60px 40px 64px; }
  .bm-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
  .bm-hero-text { order: 1; }
  .bm-hero-media { order: 2; justify-self: end; }
  .bm-h1 { font-size: 3.75rem; line-height: 0.98; }
  .bm-hero-frame { width: 360px; }
}
@media (min-width: 1024px) {
  .bm-h1 { font-size: 4.5rem; }
  .bm-hero-frame { width: 420px; }
}

/* === ZODIAC HUB (magazine-grade) === */
.zd-hero { margin: 0 0 40px; padding: 40px 24px 44px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--zd-tint, #EDEAF4) 0%, #fff 100%); position: relative; overflow: hidden; }
.zd-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--zd-accent, var(--primary)); }
.zd-hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.zd-hero-text { order: 2; }
.zd-hero-media { order: 1; justify-self: center; }
.zd-element { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--zd-accent, var(--primary)); margin-bottom: 8px; padding: 4px 12px; border: 1px solid var(--zd-accent, var(--primary)); border-radius: 6px; background: #fff; }
.zd-h1 { font-family: var(--font-h); font-size: 2.25rem; line-height: 1.02; color: var(--ink); margin: 8px 0 10px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.zd-h1-glyph { font-size: 2.5rem; color: var(--zd-accent, var(--primary)); line-height: 1; }
.zd-dates { font-family: var(--font-h); font-style: italic; font-size: 1.05rem; color: var(--ink-2); margin: 0 0 14px; }
.zd-tag { font-size: 1rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 20px; max-width: 44ch; }
.zd-tag strong { color: var(--zd-accent, var(--primary)); font-weight: 700; }
.zd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; margin: 18px 0 22px; padding: 14px 16px; background: #fff; border: 1px solid var(--border-lt); border-radius: var(--r-lg); max-width: 480px; }
.zd-fact dt { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 700; margin-bottom: 2px; }
.zd-fact dd { font-family: var(--font-h); font-size: 1rem; color: var(--ink); margin: 0; line-height: 1.2; }
.zd-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.zd-cta .btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 6px; font-weight: 600; font-size: 0.875rem; text-decoration: none; transition: transform 0.12s, box-shadow 0.12s; }
.zd-cta .btn-primary { background: var(--zd-accent, var(--primary)); color: #fff; }
.zd-cta .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.16); }
.zd-cta .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.zd-cta .btn-ghost:hover { border-color: var(--zd-accent, var(--primary)); color: var(--zd-accent, var(--primary)); }
.zd-glyph-frame { position: relative; width: min(280px, 80vw); aspect-ratio: 1/1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.8), var(--zd-tint, #fff)); display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 48px rgba(0,0,0,0.12), 0 0 0 10px var(--zd-accent, var(--primary)); }
.zd-glyph-big { font-size: 12rem; line-height: 1; color: var(--zd-accent, var(--primary)); text-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.zd-stone-badge { position: absolute; bottom: -12px; right: -12px; width: 110px; height: 110px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.2), 0 0 0 5px #fff, 0 0 0 7px var(--zd-accent, var(--primary)); }
.zd-stone-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zd-intro { font-size: 1.05rem; line-height: 1.7; color: var(--ink); max-width: 68ch; margin: 0 auto 36px; }
.zd-intro p { margin-bottom: 1em; }
.zd-intro p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .zd-hero { padding: 60px 40px 64px; }
  .zd-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
  .zd-hero-text { order: 1; }
  .zd-hero-media { order: 2; justify-self: end; }
  .zd-h1 { font-size: 3.5rem; line-height: 0.98; }
  .zd-h1-glyph { font-size: 4rem; }
  .zd-glyph-frame { width: 340px; }
  .zd-glyph-big { font-size: 15rem; }
  .zd-stone-badge { width: 130px; height: 130px; }
}
@media (min-width: 1024px) {
  .zd-h1 { font-size: 4.25rem; }
  .zd-glyph-frame { width: 400px; }
  .zd-glyph-big { font-size: 18rem; }
  .zd-stone-badge { width: 150px; height: 150px; }
}

/* === CHAKRA HUB (magazine-grade) === */
.ch-hero { margin: 0 0 32px; padding: 48px 24px 56px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--ch-color-dk, var(--primary)) 0%, var(--ch-color, var(--primary-lt)) 100%); color: #fff; position: relative; overflow: hidden; }
.ch-hero::after { content: ''; position: absolute; bottom: -40%; right: -20%; width: 80%; height: 160%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%); pointer-events: none; }
.ch-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.ch-hero-text { order: 2; }
.ch-hero-media { order: 1; justify-self: center; }
.ch-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 8px; padding: 4px 12px; border: 1px solid rgba(255,255,255,0.4); border-radius: 6px; background: rgba(255,255,255,0.08); }
.ch-h1 { font-family: var(--font-h); font-size: 2.5rem; line-height: 1; color: #fff; margin: 10px 0 6px; letter-spacing: -0.02em; }
.ch-sanskrit { font-family: var(--font-h); font-size: 1.35rem; color: rgba(255,255,255,0.9); margin: 0 0 18px; }
.ch-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; margin: 18px 0 22px; padding: 14px 16px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-lg); max-width: 460px; backdrop-filter: blur(4px); }
.ch-fact dt { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); font-weight: 700; margin-bottom: 2px; }
.ch-fact dd { font-family: var(--font-h); font-size: 1rem; color: #fff; margin: 0; line-height: 1.2; }
.ch-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ch-cta .btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 0.875rem; text-decoration: none; transition: transform 0.12s, box-shadow 0.12s; }
.ch-cta .btn-primary { background: #fff; color: var(--ch-color-dk, var(--primary)); }
.ch-cta .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.ch-cta .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.ch-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.ch-body-diagram { position: relative; width: 100px; height: 280px; }
.ch-body-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); background: linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0.4) var(--dot-y, 50%), rgba(255,255,255,0.15)); border-radius: 2px; }
.ch-body-dot { position: absolute; top: var(--dot-y, 50%); left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,0.15), 0 0 24px rgba(255,255,255,0.6); animation: ch-pulse 2.4s ease-in-out infinite; }
@keyframes ch-pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(255,255,255,0.2), 0 0 24px rgba(255,255,255,0.6); } 50% { box-shadow: 0 0 0 14px rgba(255,255,255,0.1), 0 0 32px rgba(255,255,255,0.8); } }
.ch-body-stone { position: absolute; top: var(--dot-y, 50%); left: calc(50% + 70px); transform: translate(0, -50%); width: 90px; height: 90px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 0 4px #fff; }
.ch-body-stone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-intro { font-size: 1.05rem; line-height: 1.7; color: var(--ink); max-width: 68ch; margin: 0 auto 24px; }
.ch-intro p { margin-bottom: 1em; }
.ch-soft-note { background: var(--surface); border-left: 4px solid var(--ch-color, var(--primary)); padding: 14px 18px; border-radius: var(--r); margin: 0 0 32px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.ch-soft-note strong { color: var(--ink); }
.ch-footer-note { text-align: center; font-size: 0.8125rem; color: var(--ink-3); margin-top: 32px; }
.ch-footer-note a { color: var(--ink-2); text-decoration: underline; }
@media (min-width: 768px) {
  .ch-hero { padding: 64px 48px 72px; }
  .ch-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
  .ch-hero-text { order: 1; }
  .ch-hero-media { order: 2; justify-self: end; }
  .ch-h1 { font-size: 4rem; }
  .ch-sanskrit { font-size: 1.65rem; }
  .ch-body-diagram { width: 220px; height: 380px; }
  .ch-body-stone { width: 130px; height: 130px; left: calc(50% + 90px); }
}
@media (min-width: 1024px) {
  .ch-h1 { font-size: 5rem; }
  .ch-body-diagram { height: 460px; width: 240px; }
}

/* === COLOR HUB (mosaic-first, magazine-grade) === */
.cl-hero { margin: 0 0 32px; padding: 56px 24px 64px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.cl-hero-dark { background: linear-gradient(135deg, var(--cl-accent-dk, var(--primary)) 0%, var(--cl-accent, var(--primary-lt)) 100%); color: #fff; }
.cl-hero-light { background: linear-gradient(135deg, var(--cl-tint, #EDEAF4) 0%, #fff 100%); color: var(--ink); border: 1px solid var(--border-lt); }
.cl-hero::after { content: ''; position: absolute; bottom: -50%; right: -10%; width: 70%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%); pointer-events: none; }
.cl-hero-light::after { background: radial-gradient(circle, var(--cl-accent, var(--primary)) 0%, transparent 65%); opacity: 0.12; }
.cl-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.cl-hero-text { order: 2; }
.cl-hero-swatch { order: 1; justify-self: center; }
.cl-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; margin-bottom: 8px; padding: 4px 12px; border-radius: 6px; }
.cl-hero-dark .cl-eyebrow { color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); }
.cl-hero-light .cl-eyebrow { color: var(--cl-accent-dk, var(--primary)); border: 1px solid var(--cl-accent, var(--primary)); background: #fff; }
.cl-h1 { font-family: var(--font-h); font-size: 2.5rem; line-height: 1; margin: 10px 0 14px; letter-spacing: -0.02em; }
.cl-hero-dark .cl-h1 { color: #fff; }
.cl-intro { font-size: 1.05rem; line-height: 1.65; max-width: 56ch; margin-bottom: 22px; }
.cl-hero-dark .cl-intro { color: rgba(255,255,255,0.92); }
.cl-hero-light .cl-intro { color: var(--ink-2); }
.cl-intro p { margin-bottom: 0.8em; }
.cl-intro p:last-child { margin-bottom: 0; }
.cl-cta .btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 26px; border-radius: 6px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: transform 0.12s, box-shadow 0.12s; }
.cl-hero-dark .cl-cta .btn-primary { background: #fff; color: var(--cl-accent-dk, var(--primary)); }
.cl-hero-light .cl-cta .btn-primary { background: var(--cl-accent, var(--primary)); color: #fff; }
.cl-cta .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,0.2); }
.cl-swatch-disc { width: min(220px, 60vw); aspect-ratio: 1/1; border-radius: 50%; background: var(--cl-accent, var(--primary)); box-shadow: 0 18px 48px rgba(0,0,0,0.18), 0 0 0 8px rgba(255,255,255,0.15); }
.cl-swatch-multi { width: min(220px, 60vw); aspect-ratio: 1/1; border-radius: 50%; background: conic-gradient(from 0deg, #C41E3A, #E08AB7, #E8590C, #E1AD01, #1A7F42, #2A9D8F, #1F5DA8, #7D3C98, #C41E3A); box-shadow: 0 18px 48px rgba(0,0,0,0.18), 0 0 0 8px rgba(255,255,255,0.15); }
.cl-mosaic { margin: 0 0 48px; }
.cl-mosaic-title { font-family: var(--font-h); font-size: 1.65rem; color: var(--ink); margin: 0 0 20px; text-align: center; letter-spacing: -0.01em; }
@media (min-width: 768px) {
  .cl-hero { padding: 72px 56px 80px; }
  .cl-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
  .cl-hero-text { order: 1; }
  .cl-hero-swatch { order: 2; justify-self: end; }
  .cl-h1 { font-size: 4rem; }
  .cl-swatch-disc, .cl-swatch-multi { width: 280px; }
  .cl-mosaic-title { font-size: 2rem; text-align: left; }
}
@media (min-width: 1024px) {
  .cl-h1 { font-size: 5rem; }
  .cl-swatch-disc, .cl-swatch-multi { width: 340px; }
}

/* === CRYSTALS-FOR HUB (intent-driven, magazine-grade) === */
.cf-disclaimer { background: var(--surface); border: 1px solid var(--border-lt); border-left: 4px solid var(--cf-accent, var(--primary)); padding: 14px 18px; border-radius: var(--r); margin: 0 0 28px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.cf-disclaimer strong { color: var(--ink); }
.cf-hero { margin: 0 0 36px; padding: 48px 24px 52px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--cf-tint, #EDEAF4) 0%, #fff 100%); border-top: 5px solid var(--cf-accent, var(--primary)); text-align: center; }
.cf-hero-inner { max-width: 100%; margin: 0; }
.cf-hero-icon { display: inline-flex; width: 84px; height: 84px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cf-accent, var(--primary)); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.cf-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--cf-accent-dk, var(--primary-lt)); margin-bottom: 8px; }
.cf-h1 { font-family: var(--font-h); font-size: 2rem; line-height: 1.05; color: var(--ink); margin: 4px 0 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.cf-intro { font-size: 1rem; line-height: 1.7; color: var(--ink-2); max-width: 100%; margin: 0; text-align: left; }
.cf-intro p { margin-bottom: 0.8em; max-width: none; }
.cf-intro p:last-child { margin-bottom: 0; }
.cf-top3 { margin: 0 0 44px; }
.cf-top3-heading { font-family: var(--font-h); font-size: 1.5rem; color: var(--ink); margin: 0 0 22px; text-align: center; letter-spacing: -0.01em; }
.cf-top3-heading::after { content: ''; display: block; width: 60px; height: 3px; background: var(--cf-accent, var(--primary)); margin: 12px auto 0; border-radius: 2px; }
.cf-top3-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.cf-top3-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-lt); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; position: relative; }
.cf-top3-card:hover { transform: translateY(-3px); border-color: var(--cf-accent, var(--primary)); box-shadow: 0 12px 28px rgba(0,0,0,0.10); }
.cf-top3-card-1 { border-top: 4px solid var(--cf-accent, var(--primary)); }
.cf-top3-rank { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--cf-accent, var(--primary)); color: #fff; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; padding: 5px 12px; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.12); }
.cf-top3-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.cf-top3-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.cf-top3-card:hover .cf-top3-img img { transform: scale(1.05); }
.cf-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--cf-accent, var(--primary)), var(--cf-tint, #fff)); }
.cf-top3-body { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.cf-top3-name { font-family: var(--font-h); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.cf-top3-arrow { font-size: 1.25rem; color: var(--cf-accent, var(--primary)); transition: transform 0.15s; }
.cf-top3-card:hover .cf-top3-arrow { transform: translateX(4px); }
@media (min-width: 768px) {
  .cf-hero { padding: 64px 40px 68px; }
  .cf-h1 { font-size: 3.5rem; }
  .cf-top3-heading { font-size: 1.85rem; }
  .cf-top3-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .cf-h1 { font-size: 4.25rem; }
}

/* === ELEMENT HUB === */
.el-hero { margin: 0 0 36px; padding: 56px 28px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--el-accent-dk, var(--primary)) 0%, var(--el-accent, var(--primary-lt)) 100%); color: #fff; position: relative; overflow: hidden; }
.el-hero::before { content: ''; position: absolute; bottom: -40%; right: -15%; width: 70%; height: 180%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%); pointer-events: none; }
.el-hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; position: relative; z-index: 1; }
.el-hero-text { order: 2; }
.el-hero-glyph { order: 1; justify-self: center; font-size: 6rem; line-height: 1; opacity: 0.95; }
.el-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: rgba(255,255,255,0.9); padding: 4px 12px; border: 1px solid rgba(255,255,255,0.4); border-radius: 6px; background: rgba(255,255,255,0.08); margin-bottom: 10px; }
.el-h1 { font-family: var(--font-h); font-size: 2.5rem; line-height: 1; color: #fff; margin: 6px 0 12px; letter-spacing: -0.02em; }
.el-tagline { font-family: var(--font-h); font-style: italic; font-size: 1.2rem; color: rgba(255,255,255,0.95); margin: 0 0 18px; }
.el-intro { font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,0.92); max-width: 56ch; }
.el-intro p { margin-bottom: 0.8em; }
.el-intro p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .el-hero { padding: 72px 56px; }
  .el-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
  .el-hero-text { order: 1; }
  .el-hero-glyph { order: 2; justify-self: end; font-size: 10rem; }
  .el-h1 { font-size: 4rem; }
}
@media (min-width: 1024px) {
  .el-h1 { font-size: 5rem; }
  .el-hero-glyph { font-size: 13rem; }
}

/* === JEWELRY HUB === */
.jw-hero { margin: 0 0 28px; padding: 56px 24px 60px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--gold-bg, #FDF8ED) 0%, #fff 100%); border-top: 5px solid var(--gold, #B8860B); text-align: center; }
.jw-hero-inner { max-width: 720px; margin: 0 auto; }
.jw-hero-icon { display: inline-flex; width: 92px; height: 92px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold, #B8860B); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 28px rgba(184,134,11,0.25); }
.jw-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--gold, #B8860B); margin-bottom: 10px; }
.jw-h1 { font-family: var(--font-h); font-size: 2.5rem; line-height: 1.02; color: var(--ink); margin: 4px 0 14px; letter-spacing: -0.02em; }
.jw-tagline { font-family: var(--font-h); font-style: italic; font-size: 1.15rem; color: var(--ink-2); margin: 0 auto; max-width: 50ch; }
.jw-aff-note { background: var(--gold-bg, #FDF8ED); border: 1px solid #E8DCB8; border-left: 4px solid var(--gold, #B8860B); padding: 14px 18px; border-radius: var(--r); margin: 0 0 28px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.jw-aff-note strong { color: var(--ink); }
.jw-intro { font-size: 1.05rem; line-height: 1.7; color: var(--ink); max-width: 68ch; margin: 0 auto 32px; }
.jw-intro p { margin-bottom: 1em; }
.jw-intro p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .jw-h1 { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .jw-h1 { font-size: 4.5rem; }
}

/* === GUIDE HUB === */
.gd-hero { margin: 0 0 28px; padding: 48px 24px 52px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--surface) 0%, #fff 100%); border-top: 5px solid var(--primary); text-align: center; }
.gd-hero-inner { max-width: 720px; margin: 0 auto; }
.gd-hero-icon { display: inline-flex; width: 84px; height: 84px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: #fff; margin-bottom: 16px; box-shadow: 0 10px 24px rgba(27,16,64,0.2); }
.gd-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--primary-lt); margin-bottom: 8px; }
.gd-h1 { font-family: var(--font-h); font-size: 2.4rem; line-height: 1.02; color: var(--ink); margin: 4px 0 14px; letter-spacing: -0.02em; }
.gd-intro { font-size: 1.05rem; line-height: 1.7; color: var(--ink-2); max-width: 56ch; margin: 0 auto; }
.gd-intro p { margin-bottom: 0.8em; }
.gd-intro p:last-child { margin-bottom: 0; }
.gd-summary { background: linear-gradient(135deg, var(--cta-bg) 0%, #fff 100%); border: 1px solid var(--border-lt); border-left: 4px solid var(--cta); border-radius: var(--r-lg); padding: 22px 26px; margin: 0 0 32px; }
.gd-summary-title { font-family: var(--font-h); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--cta); margin-bottom: 12px; }
.gd-summary ul { list-style: none; padding: 0; margin: 0; }
.gd-summary li { padding: 6px 0 6px 26px; line-height: 1.55; position: relative; color: var(--ink); font-size: 0.9375rem; }
.gd-summary li::before { content: '\2713'; position: absolute; left: 0; top: 6px; color: var(--cta); font-weight: 700; }
@media (min-width: 768px) {
  .gd-h1 { font-size: 3.25rem; }
}

/* === HUB MASTER (top-level) === */
.hm-hero { margin: 0 0 32px; padding: 40px 28px 44px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--surface) 0%, #fff 100%); border-top: 4px solid var(--primary); }
.hm-hero-inner { max-width: 920px; }
.hm-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--primary-lt); margin-bottom: 10px; }
.hm-h1 { font-family: var(--font-h); font-size: 2.5rem; line-height: 1.02; color: var(--ink); margin: 6px 0 14px; letter-spacing: -0.02em; }
.hm-hero-intro { font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); max-width: 65ch; }
.hm-hero-intro p { margin-bottom: 0.8em; }
.hm-hero-intro p:last-child { margin-bottom: 0; }
.hm-tiles { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0 0 40px; }
.hm-tile { display: block; background: var(--surface); border: 1px solid var(--border-lt); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.hm-tile:hover { transform: translateY(-3px); border-color: var(--cta); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.hm-tile-img { aspect-ratio: 1/1; overflow: hidden; background: var(--surface-2); position: relative; }
.hm-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.hm-tile:hover .hm-tile-img img { transform: scale(1.04); }
.hm-tile-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-lt), var(--primary)); color: var(--gold-lt); font-family: var(--font-h); font-size: 5rem; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.hm-tile-body { padding: 14px 16px 18px; }
.hm-tile-name { display: block; font-family: var(--font-h); font-weight: 700; font-size: 1.15rem; color: var(--ink); line-height: 1.15; }
.hm-tile-sub { display: block; font-size: 0.8125rem; color: var(--ink-3); margin-top: 4px; line-height: 1.3; }
@media (min-width: 640px) { .hm-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .hm-tiles { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .hm-h1 { font-size: 3.5rem; }
}
@media (min-width: 1200px) { .hm-tiles { grid-template-columns: repeat(4, 1fr); }
  .hm-h1 { font-size: 4rem; }
}
@media (min-width: 1440px) { .hm-tiles { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .hm-h1 { font-size: 4.75rem; }
}

/* === TOOL HUB === */
.tl-hero { margin: 0 0 22px; padding: 48px 24px 52px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--primary-bg, #EDEAF4) 0%, #fff 100%); border-top: 5px solid var(--primary); text-align: center; }
.tl-hero-inner { max-width: 720px; margin: 0 auto; }
.tl-hero-icon { display: inline-flex; width: 92px; height: 92px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 28px rgba(27,16,64,0.22); }
.tl-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.tl-h1 { font-family: var(--font-h); font-size: 2.5rem; line-height: 1.02; color: var(--ink); margin: 4px 0 14px; letter-spacing: -0.02em; }
.tl-intro { font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); max-width: 56ch; margin: 0 auto; }
.tl-coming-soon { display: flex; gap: 14px; align-items: flex-start; background: var(--cta-bg); border: 1px solid #F5D5BC; border-left: 4px solid var(--cta); padding: 14px 18px; border-radius: var(--r); margin: 0 0 32px; font-size: 0.9375rem; line-height: 1.55; }
.tl-coming-soon .tl-cs-icon { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--cta); color: #fff; border-radius: 50%; }
.tl-coming-soon strong { color: var(--ink); display: inline; }
@media (min-width: 768px) { .tl-h1 { font-size: 3.5rem; } }

/* === MANDATORY (legal/about — clean editorial) === */
.md-hero { margin: 0 0 28px; padding: 32px 0 24px; border-bottom: 1px solid var(--border-lt); }
.md-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--ink-3); margin-bottom: 10px; }
.md-h1 { font-family: var(--font-h); font-size: 2.4rem; line-height: 1.05; color: var(--ink); margin: 0 0 14px; letter-spacing: 0.01em; max-width: 26ch; text-transform: uppercase; }
.md-intro { font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); max-width: 64ch; }
.md-intro p { margin-bottom: 0.8em; }
.md-intro p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .md-h1 { font-size: 3.25rem; } }

/* === MOBILE-FIRST + AIO POLISH === */
/* Heading rhythm — modern text-wrap for readability. Mobile defaults are tight. */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Touch targets — WCAG 44x44 minimum on mobile */
@media (max-width: 767px) {
  a, button, .hm-tile, .cf-top3-card, .pron, .nav a, .crumbs a { min-height: 44px; }
  .hm-tile, .cf-top3-card { display: block; }
  .nav a { display: inline-flex; align-items: center; padding: 8px 0; }
  /* Inline paragraph links: expand tap area without breaking flow */
  .content p a, .hub-faq-a a, .ns-text a, .bm-intro a { padding: 6px 0; display: inline-block; line-height: 1.5; }
  /* Tighter hero on small phones */
  .bm-hero, .zd-hero, .ch-hero, .cl-hero, .cf-hero, .el-hero, .jw-hero, .gd-hero, .tl-hero, .hm-hero { padding-left: 18px; padding-right: 18px; border-radius: 0; }
  .bm-h1, .zd-h1, .ch-h1, .cl-h1, .cf-h1, .el-h1, .jw-h1, .gd-h1, .tl-h1, .hm-h1 { font-size: 2rem; line-height: 1.05; }
  .bm-tag, .zd-tag, .ch-sanskrit, .cl-intro, .cf-intro, .el-tagline, .jw-tagline, .gd-intro, .tl-intro, .hm-hero-intro { font-size: 1rem; }
}

/* Reduce motion respect — for accessibility + AIO */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ch-body-dot { animation: none; }
}

/* Print — better for AIO crawlers/screen readers */
@media print {
  .hdr, .ftr, .ad, .pron, .cf-disclaimer, .ch-soft-note { display: none; }
  body { font-size: 11pt; line-height: 1.5; }
}

/* Skip-link visibility for accessibility audit (Lighthouse) */
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; padding: 8px 16px; background: var(--primary); color: #fff; border-radius: var(--r); z-index: 9999; }

/* Image lazy + content-visibility for performance (LCP-positive) */
img[loading="lazy"] { content-visibility: auto; }

/* Stone bottom navigation — data credit + back-to-top */
.stone-bottom-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-lt); display: flex; flex-direction: column; gap: 12px; }
.affiliate-inline-disclosure { font-size: 0.7rem; color: var(--ink-3); margin-bottom: 8px; }
.stone-data-credit { font-size: 0.75rem; color: var(--ink-3); line-height: 1.5; }
.stone-data-credit-label { font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 2px; }
.stone-back-top { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--primary-lt); border: 1px solid var(--border); border-radius: 6px; padding: 8px 16px; align-self: flex-start; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.stone-back-top:hover { background: var(--primary-bg); border-color: var(--primary-lt); color: var(--primary); }

/* === STONE PAGE UX POLISH — conversion-focused additions === */

/* In-page anchor nav (Table of Contents) rendered in sidebar or inline */
.stone-toc { background: var(--primary); border-radius: var(--r-lg); padding: 0; margin-bottom: 24px; overflow: hidden; }
.stone-toc-title { font-family: var(--font-b); font-size: 0.6875rem; font-weight: 700; color: #fff; padding: 12px 16px 10px; border-bottom: 2px solid var(--cta); text-transform: uppercase; letter-spacing: 0.16em; margin: 0; }
.stone-toc-list { list-style: none; padding: 10px 16px 14px; display: flex; flex-wrap: wrap; }
.stone-toc-list li { padding: 3px 0; width: 50%; }
.stone-toc-list a { color: rgba(255,255,255,0.75); font-size: 0.8125rem; display: flex; align-items: center; gap: 6px; transition: color 0.15s; }
.stone-toc-list a::before { content: '\25b8'; color: var(--cta); font-size: 0.65em; flex-shrink: 0; }
.stone-toc-list a:hover { color: #fff; }

/* Buying CTA block — dark-navy panel matching the Match/TOC visual language */
.buying-action { margin: 24px 0 8px; padding: 22px 22px 24px; background: var(--primary); border: none; border-top: 4px solid var(--cta); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; }
.buying-action-head { font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; color: #fff; }
.buying-action .btn-primary { align-self: flex-start; padding: 14px 28px; font-size: 0.9375rem; border-radius: 4px; }
.buying-action .aff-note { font-size: 0.6875rem; color: rgba(255,255,255,0.55); font-style: italic; margin: 0; background: none; padding: 0; border: 0; border-radius: 0; }
@media (min-width: 640px) {
  .buying-action { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px; }
  .buying-action-head { flex: 1; min-width: 200px; }
}

/* Mobile: hero uses 4:3, revert to 3:2 on tablet for side-by-side layout */
@media (min-width: 768px) {
  .hero-img { aspect-ratio: 3/2; }
}

/* Section rhythm — alternating background shade every other major section on stone pages */
.content .section-alt-bg { background: var(--bg); border-radius: var(--r-lg); padding: 20px; margin: 8px -8px; }

/* Gift tags — clean outlined pill on larger screens */
.gift { padding: 8px 16px; font-size: 0.8125rem; border-radius: 4px; }

/* FAQ on stone pages — bump question font for easier reading */
.content .faq-q { font-size: 0.9375rem; }

/* Healing lane icons — match their lane color more tightly */
.healing-lane-emotional { background: linear-gradient(135deg, rgba(224,138,183,0.06), var(--surface)); }
.healing-lane-spiritual { background: linear-gradient(135deg, rgba(125,60,152,0.06), var(--surface)); }
.healing-lane-physical  { background: linear-gradient(135deg, rgba(26,127,66,0.06), var(--surface)); }

/* Warn box — larger title for urgency */
.warn-title { font-size: 1rem; }

/* Color mosaic on homepage — bigger hexagons on desktop for impact */
@media (min-width: 1024px) {
  .cs-sw { width: 64px; height: 72px; }
  .cs-name { font-size: 1rem; }
}

/* Promise bar items — larger icon, more prominent */
.ppb-item { gap: 10px; }
.ppb-icon svg { width: 20px; height: 20px; }

/* === AFFILIATE SLOTS === */
.aff-slots {
  margin: 40px 0 32px;
  padding: 28px 0 0;
  border-top: 1px solid var(--border-lt);
}
.aff-slots-heading {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
  /* Override .content h2 dark-navy band — affiliate heading stays light */
  background: none;
  border-bottom: none;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
}

/* Card grid: 1 column mobile → 3 columns desktop */
.aff-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .aff-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

.aff-card {
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.aff-card:hover {
  border-color: var(--primary-lt);
  box-shadow: 0 4px 16px rgba(27,16,64,0.09);
}

/* Retailer logo badge — styled text, no external image required */
.aff-card-logo {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  line-height: 1;
}
.aff-card--etsy      .aff-card-logo { color: #B03600; }
.aff-card--amazon    .aff-card-logo { color: var(--gold-dk); }
.aff-card--gemselect .aff-card-logo { color: #155E30; }

.aff-card-desc {
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

/* CTA button inherits .btn .btn-primary — override size for card context */
.aff-card-cta.btn.btn-primary {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  padding: 10px 14px;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Affiliate disclosure — unobtrusive, legal requirement */
.aff-disclaimer {
  margin-bottom: 14px;
  font-size: 0.6875rem;
  color: var(--ink-3);
  line-height: 1.4;
}
.healing-disclaimer {
  font-size: 0.75rem;
  color: var(--ink-2);
  background: var(--surface-2, #f5f3ef);
  border-left: 3px solid var(--accent, #7c5c38);
  padding: 8px 12px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.healing-disclaimer a { color: var(--primary); text-decoration: underline; }
.ppb-label { font-size: 0.8125rem; }

/* ============================================================
   === HOMEPAGE REDESIGN (UX/conversion pass) ================
   New classes only — existing classes unchanged above.
   Breakpoints: mobile-first, 768px tablet, 1024px desktop.
   ============================================================ */

/* ----------------------------------------------------------
   HERO REDESIGN — gr-hero-redesign
   Layered on top of .portal-hero which supplies the dark bg,
   radial glow, and portal-hero-inner grid. We only add the
   new sub-elements here.
---------------------------------------------------------- */

/* Authority pill — small badge above H1 to establish credentials */
.gr-hero-authority-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.gr-hero-authority-pill::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-lt);
  flex-shrink: 0;
}

/* H1 — split-line authoritative statement */
.gr-hero-h1 {
  font-size: 2.8rem;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 18px;
}
.gr-hero-h1-accent {
  color: var(--gold-lt);
}
@media (min-width: 768px) {
  .gr-hero-h1 { font-size: 3.8rem; }
}
@media (min-width: 1024px) {
  .gr-hero-h1 { font-size: 5.2rem; line-height: 0.93; }
}

/* Subheadline — slightly tighter than default portal-hero-sub */
.gr-hero-sub {
  max-width: 520px;
  margin-bottom: 28px;
}

/* Search form — inherited from .portal-search, no overrides needed */
.gr-hero-search { max-width: 560px; }

/* 3 fast-path buttons below search */
.gr-hero-fast-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.gr-fast-path {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  text-decoration: none;
  min-height: 44px;
}
.gr-fast-path:hover {
  background: rgba(232,89,12,0.2);
  border-color: var(--cta);
  color: #fff;
  transform: translateY(-1px);
}
/* Primary fast-path gets the CTA treatment */
.gr-fast-path--primary {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.gr-fast-path--primary:hover {
  background: var(--cta-dk);
  border-color: var(--cta-dk);
}

/* ----------------------------------------------------------
   TRUST BAR — gr-trust-bar
   Sits directly below hero. White surface, concrete numbers.
   Separates hero from "find your stone" section visually.
---------------------------------------------------------- */
.gr-trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-lt);
  padding: 16px 0;
}
.gr-trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 0;
}
.gr-trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.gr-trust-stat strong {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.gr-trust-stat span {
  font-size: 0.6875rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}
.gr-trust-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}
/* Stack on very small screens */
@media (max-width: 479px) {
  .gr-trust-sep { display: none; }
  .gr-trust-stat { padding: 4px 12px; }
}
@media (min-width: 768px) {
  .gr-trust-stat { padding: 0 28px; }
  .gr-trust-stat strong { font-size: 1.15rem; }
}

/* ----------------------------------------------------------
   FIND YOUR STONE — gr-find-stone
   4 path panels. Each has a bold header link + 4 inline
   sub-options + "see all" link. This is the highest-converting
   navigation pattern for browse-intent users.
---------------------------------------------------------- */
.gr-find-stone {
  padding: 48px 16px 40px;
}
.gr-find-stone-head {
  margin-bottom: 28px;
}
.gr-find-h2 {
  font-size: 2rem;
}

/* 4-panel grid: 1 col mobile → 2 col tablet → 4 col desktop */
.gr-find-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .gr-find-paths { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gr-find-paths { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.gr-find-path {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.gr-find-path:hover {
  border-color: var(--primary-lt);
  box-shadow: 0 8px 24px rgba(27,16,64,0.08);
}

/* Path header — the category link */
.gr-find-path-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  min-height: 56px;
  transition: background 0.15s;
}
.gr-find-path-head:hover {
  background: var(--primary-lt);
  color: #fff;
}
.gr-find-path-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-lt);
}
.gr-find-path-label {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  flex: 1;
  line-height: 1.2;
}
.gr-find-path-arrow {
  font-size: 1rem;
  color: var(--gold-lt);
  transition: transform 0.15s, color 0.15s;
  flex-shrink: 0;
}
.gr-find-path-head:hover .gr-find-path-arrow {
  transform: translateX(3px);
  color: var(--gold-lt);
}

/* Sub-links — 4 inline options per category */
.gr-find-path-sub {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gr-find-path-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 4px;
  font-size: 0.875rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border-lt);
  transition: color 0.12s;
  text-decoration: none;
  min-height: 36px;
}
.gr-find-path-sub-link:last-of-type {
  border-bottom: 0;
}
.gr-find-path-sub-link:hover {
  color: var(--cta);
}

/* Color dot used in sub-links */
.gr-find-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot-bg, var(--border));
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
/* Zodiac glyph — slightly larger to be readable */
.gr-find-glyph {
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

/* "See all" footer link inside sub */
.gr-find-path-more {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cta-dk);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.12s;
}
.gr-find-path-more:hover { color: var(--cta-dk); }

/* ----------------------------------------------------------
   FEATURED STONE SPOTLIGHT — gr-spotlight
   Magazine-quality editorial unit. Left: image with badge.
   Right: title, data infobox, desc, dual CTA.
   This is the primary affiliate-conversion unit.
---------------------------------------------------------- */
.gr-spotlight {
  background: var(--bg);
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
  padding: 56px 0;
  margin: 48px 0 0;
}
.gr-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) {
  .gr-spotlight-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .gr-spotlight-inner { gap: 64px; }
}

.gr-spotlight-img {
  box-shadow: 0 24px 56px -12px rgba(27,16,64,0.22);
}

.gr-spotlight-name {
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  margin: 8px 0 10px;
  letter-spacing: -0.02em;
}
.gr-spotlight-name a { color: inherit; text-decoration: none; }
.gr-spotlight-name a:hover { color: var(--cta); }

@media (min-width: 1024px) {
  .gr-spotlight-name { font-size: 3rem; }
}

.gr-spotlight-subtitle {
  font-family: var(--font-h);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-2);
  margin-bottom: 18px;
  line-height: 1.45;
}

/* Data infobox — 2-column grid of key facts */
.gr-spotlight-infobox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.gr-si-row {
  display: flex;
  flex-direction: column;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--border-lt);
}
.gr-si-row:nth-last-child(-n+2) { border-bottom: 0; }
.gr-si-row:nth-child(even) {
  padding-left: 10px;
  border-left: 1px solid var(--border-lt);
}
.gr-si-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.gr-si-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.gr-spotlight-desc {
  color: var(--ink-2);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.65;
}

/* Dual CTAs — primary + ghost side by side */
.gr-spotlight-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.gr-spotlight-shop {
  white-space: nowrap;
}

/* ----------------------------------------------------------
   INTENTS SECTION — header block above the existing intent-grid
---------------------------------------------------------- */
.gr-intents-head {
  margin-bottom: 4px;
}
.gr-intents-footer {
  margin-top: 24px;
  text-align: center;
}
.gr-intents-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-lt);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.15s;
  min-height: 44px;
}
.gr-intents-all-link:hover { color: #fff; }

/* ----------------------------------------------------------
   EEAT SECTION — gr-eeat
   2-col on tablet+: left editorial copy + trust pills,
   right: stacked author cards.
---------------------------------------------------------- */
.gr-eeat {
  background: var(--surface);
  border-top: 1px solid var(--border-lt);
  padding: 56px 0;
}
.gr-eeat-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) {
  .gr-eeat-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

.gr-eeat-desc {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 52ch;
}

/* Trust pills row */
.gr-eeat-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.gr-eeat-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  border: 1px solid rgba(61,43,107,0.15);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.gr-eeat-trust-icon {
  color: var(--cta);
  display: inline-flex;
  flex-shrink: 0;
}

/* Author cards */
.gr-eeat-authors {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gr-eeat-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 80px;
}
.gr-eeat-author-card:hover {
  border-color: var(--cta);
  box-shadow: 0 6px 18px rgba(232,89,12,0.1);
}
.gr-eeat-author-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gr-eeat-author-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.gr-eeat-author-creds {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--cta-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.gr-eeat-author-lane {
  font-size: 0.75rem;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ----------------------------------------------------------
   NEWSLETTER REDESIGN — gr-newsletter-redesign
   Left: copy + perk list. Right: form. Same grid as before
   but with a perk list for value-prop clarity.
---------------------------------------------------------- */
.gr-nl-copy {
  /* inherits .section-h color override from inline style on h2 */
}
.gr-nl-perks {
  list-style: none;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gr-nl-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
}
.gr-nl-perks li::before {
  content: '\2713';
  color: var(--gold-lt);
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .newsletter-inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
}



/* ============================================================
   HUB PAGE REDESIGN — Zara Okonkwo
   All rules below OVERRIDE the narrow single-column hub layout.
   Other templates (stone pages, homepage) are unaffected.
   ============================================================ */

/* ── Layout container: expand the page-main width ───────────────────── */
.hub-page .page-main,
.hub-page.page-main {
  max-width: 1320px;
  padding-top: 0;
}

/* ── Two-column body grid ────────────────────────────────────────────── */
/* Full-width hub hero — rendered before the sidebar grid, background full-bleed,
   content aligned with .wrap (max-width 1240px, padding 40px) */
.hub-hero-full { width: 100%; }
.hub-hero-full .ch-hero,
.hub-hero-full .bm-hero,
.hub-hero-full .zd-hero,
.hub-hero-full .cl-hero,
.hub-hero-full .cf-hero,
.hub-hero-full .el-hero,
.hub-hero-full .jw-hero,
.hub-hero-full .gd-hero,
.hub-hero-full .tl-hero,
.hub-hero-full .hm-hero {
  border-radius: 0;
  margin: 0;
  /* Align inner content with .wrap on all screen sizes */
  padding-left:  max(20px, calc((100vw - 1160px) / 2));
  padding-right: max(20px, calc((100vw - 1160px) / 2));
}
@media (min-width: 768px) {
  .hub-hero-full .ch-hero,
  .hub-hero-full .bm-hero,
  .hub-hero-full .zd-hero,
  .hub-hero-full .cl-hero,
  .hub-hero-full .cf-hero,
  .hub-hero-full .el-hero,
  .hub-hero-full .jw-hero,
  .hub-hero-full .gd-hero,
  .hub-hero-full .tl-hero,
  .hub-hero-full .hm-hero {
    padding-left:  max(40px, calc((100vw - 1160px) / 2));
    padding-right: max(40px, calc((100vw - 1160px) / 2));
  }
}

.hub-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 0 64px;
}
@media (min-width: 1024px) {
  .hub-body-grid {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

/* ── Primary content column ──────────────────────────────────────────── */
.hub-primary {
  min-width: 0;
}

/* Override margin:0 auto on intro blocks — inside hub-primary they are NOT full width
   so auto margins would indent them. Left-align always. */
.hub-primary .ch-intro,
.hub-primary .bm-intro,
.hub-primary .zd-intro,
.hub-primary .cf-intro,
.hub-primary .jw-intro,
.hub-primary .gd-intro,
.hub-primary .tl-intro,
.hub-primary .cl-intro,
.hub-primary .el-intro,
.hub-primary .hm-intro,
.hub-primary .page-intro { margin-left: 0; margin-right: 0; max-width: 100%; }

/* Left-align ALL body text in hub pages — no centered paragraphs ──── */
.hub-primary p,
.hub-primary .cf-intro p,
.hub-primary .chakra-intro p,
.hub-primary .month-intro p,
.hub-primary .element-intro p,
.hub-primary .guide-intro p,
.hub-primary .zodiac-intro p,
.hub-primary .jewelry-intro p,
.hub-primary .page-intro p,
.hub-primary .bm-intro p,
.hub-primary .zd-intro p,
.hub-primary .ch-intro p,
.hub-primary .cl-intro p,
.hub-primary .jw-intro p,
.hub-primary .gd-intro p,
.hub-primary .tl-intro p {
  text-align: left !important;
  max-width: none;
}

/* cf-intro paragraphs: full width, left-aligned */
.cf-hero .cf-intro p {
  text-align: left;
  max-width: 100%;
}

/* ── Sidebar ─────────────────────────────────────────────────────────── */
.hub-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hub-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
  }
}

/* ── Sidebar widget base ─────────────────────────────────────────────── */
.hub-sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  word-break: break-word;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hub-sidebar-widget-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border-lt);
  margin: 0;
}

/* ── Sidebar: stone quick-cards ──────────────────────────────────────── */
.hub-sb-stones {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hub-sb-stone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border-lt);
  transition: background 0.15s;
}
.hub-sb-stone:last-child { border-bottom: 0; }
.hub-sb-stone:hover { background: var(--primary-bg); }
.hub-sb-stone-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2);
}
.hub-sb-stone-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hub-sb-stone-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-lt);
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
}
.hub-sb-stone-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.2;
}

/* ── Sidebar: related hub links ──────────────────────────────────────── */
.hub-sb-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hub-sb-link {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--border-lt);
  transition: background 0.15s, color 0.15s;
  position: relative;
  padding-left: 28px;
}
.hub-sb-link:last-child { border-bottom: 0; }
.hub-sb-link::before {
  content: '\25b8';
  position: absolute;
  left: 12px;
  color: var(--cta);
  font-size: 0.7em;
  top: 50%;
  transform: translateY(-50%);
}
.hub-sb-link:hover { background: var(--primary-bg); color: var(--primary); }

/* ── Sidebar: newsletter widget ──────────────────────────────────────── */
.hub-sb-newsletter {
  padding: 18px 16px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-lg);
}
.hub-sb-newsletter-title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}
.hub-sb-newsletter p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 14px;
  text-align: left !important;
}
.hub-sb-nl-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hub-sb-nl-form input[type=email] {
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 0.875rem;
  width: 100%;
}
.hub-sb-nl-form button {
  padding: 10px 14px;
  background: var(--cta-btn);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.hub-sb-nl-form button:hover { background: var(--cta-dk); }
.hub-sb-privacy {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.45);
  margin: 6px 0 0;
  text-align: left !important;
}

/* ── Hub trust bar ───────────────────────────────────────────────────── */
.hub-trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-lt);
  padding: 12px 0;
}
.hub-trust-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--ink-3);
}
@media (min-width: 640px) { .hub-trust-bar-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .hub-trust-bar-inner { padding: 0 40px; } }
.hub-trust-sep {
  color: var(--border);
  font-weight: 400;
}
.hub-trust-bar strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* ── Disclaimer — demoted to inline note ─────────────────────────────── */
.hub-disclaimer-inline {
  background: var(--surface);
  border-left: 3px solid var(--border);
  padding: 10px 14px;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 24px 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.hub-disclaimer-inline strong {
  color: var(--ink-2);
}

/* Hide the verbose .cf-disclaimer — replaced by inline note in body */
.hub-primary .cf-disclaimer {
  display: none;
}

/* ── Stone card grid — proper card design ────────────────────────────── */
.hub-stone-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin: 24px 0 36px;
}
@media (min-width: 640px) {
  .hub-stone-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
}
.hub-stone-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.hub-stone-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border-color: var(--cta);
}
.hub-stone-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}
.hub-stone-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.4s;
}
.hub-stone-card:hover .hub-stone-card-img img {
  transform: scale(1.05);
}
.hub-stone-card-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 700;
}
.hub-stone-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hub-stone-card-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
}
.hub-stone-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
}

/* Override old .stone-grid inside hub-primary to use new card design */
.hub-primary .stone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 24px 0 36px;
}
@media (min-width: 640px) {
  .hub-primary .stone-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
}
.hub-primary .stone-grid .stone-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: none;
}
.hub-primary .stone-grid .stone-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border-color: var(--cta);
}
.hub-primary .stone-grid .stone-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
  border-radius: 0;
  transition: transform 0.4s;
}
.hub-primary .stone-grid .stone-card:hover img {
  transform: scale(1.05);
}
.hub-primary .stone-grid .stone-card-name {
  padding: 10px 14px 14px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

/* ── FAQ section — full-width alternating row style ──────────────────── */
.hub-primary .faq-item {
  border-bottom: 1px solid var(--border-lt);
}
.hub-primary .faq-item:first-child {
  border-top: 1px solid var(--border-lt);
}
.hub-primary .faq-q {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hub-primary .faq-q::after {
  content: '+';
  font-family: var(--font-b);
  font-size: 1.25rem;
  color: var(--cta);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}
.hub-primary .faq-item.open .faq-q::after {
  content: '\2212';
}
.hub-primary .faq-a {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.hub-primary .faq-a p { margin: 0; }

/* ── Related hubs — pill-style at bottom ─────────────────────────────── */
.hub-related-hubs {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--cta);
}
.hub-related-hubs-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.hub-related-hubs-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.hub-related-hubs-list a {
  display: inline-block;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--ink-2);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.hub-related-hubs-list a:hover {
  background: var(--primary-bg);
  border-color: var(--primary-lt);
  color: var(--primary);
}

/* ── Numbered stones list — keep but left-align text ─────────────────── */
.hub-primary .ns-text { text-align: left; }

/* ── h2/h3 section headers in hub body — uppercase enforced ──────────── */
.hub-primary .page-article > h2 {
  font-family: var(--font-b);
  font-size: 1.15rem;
  margin-top: 44px;
  border-bottom-width: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hub-primary .page-article > h3 {
  font-size: 0.95rem;
  margin-top: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Warn blocks — demoted size in hub context ───────────────────────── */
.hub-primary .warn {
  font-size: 0.875rem;
}

/* ── Mobile: sidebar goes below content ──────────────────────────────── */
@media (max-width: 1023px) {
  .hub-sidebar {
    border-top: 1px solid var(--border-lt);
    padding-top: 32px;
  }
  .hub-body-grid {
    padding: 24px 0 48px;
  }
}

/* ============================================================
   END HUB PAGE REDESIGN
   ============================================================ */

/* ============================================================
   === AUTHOR BYLINE + PRICE NOTE + LOGO TAGLINE (Alex RED fixes)
   ============================================================ */


/* Price disclaimer note */
.price-note {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin: 4px 0 16px;
  font-style: italic;
}

/* Logo tagline under site name */
.logo-tagline {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
}

/* ============================================================
   === SEARCH RESULTS PAGE
   ============================================================ */
.search-header { margin-bottom: 32px; }
.search-title { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink-1); margin-bottom: 16px; }
.search-section-head { font-family: var(--font-head); font-size: 1.125rem; color: var(--ink-2); border-bottom: 2px solid var(--border-lt); padding-bottom: 8px; margin-bottom: 20px; font-weight: 600; }

/* Stone card grid */
.search-stone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.sr-card { display: flex; flex-direction: column; border: 1px solid var(--border-lt); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink-1); background: var(--surface-0); transition: box-shadow .15s, transform .15s; }
.sr-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.sr-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-1); }
.sr-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sr-card-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-family: var(--font-head); color: rgba(255,255,255,.8); }
.sr-card-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sr-card-name { font-weight: 700; font-size: 0.9rem; color: var(--ink-1); line-height: 1.3; }
.sr-card-desc { font-size: 0.775rem; color: var(--ink-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-card-cta { font-size: 0.75rem; color: var(--color-gem); font-weight: 600; margin-top: auto; }

/* Other results list */
.search-other-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.search-other-item { border-bottom: 1px solid var(--border-lt); padding-bottom: 16px; }
.search-other-link { font-weight: 600; color: var(--ink-1); font-size: 1rem; text-decoration: none; }
.search-other-link:hover { color: var(--color-gem); }
.search-other-desc { font-size: 0.875rem; color: var(--ink-3); margin-top: 4px; }

/* Empty state */
.search-empty { text-align: center; padding: 48px 0; }
.search-empty-msg { font-size: 1.0625rem; color: var(--ink-2); margin-bottom: 24px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.search-chip { padding: 6px 16px; border: 1px solid var(--border-lt); border-radius: 6px; font-size: 0.875rem; color: var(--ink-2); text-decoration: none; background: var(--surface-0); }
.search-chip:hover { background: var(--color-gem); color: #fff; border-color: var(--color-gem); }

/* Affiliate disclosure — FTC compliance */
.aff-disclosure {
  font-size: 0.75rem;
  color: var(--ink-4);
  border-left: 2px solid var(--border-lt);
  padding-left: 10px;
  margin: 0 0 16px;
  font-style: italic;
}

/* ============================================================
   === UPPERCASE ENFORCEMENT — all hub H1s + content headings
   ============================================================ */

/* All hub page H1 display titles — uppercase, tighter tracking */
.bm-h1, .zd-h1, .ch-h1, .cl-h1, .el-h1, .jw-h1, .gd-h1, .tl-h1, .hm-h1 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* Desktop size cap — uppercase needs less point size to feel the same weight */
@media (min-width: 768px) {
  .bm-h1 { font-size: 2.75rem !important; }
  .zd-h1, .ch-h1, .cl-h1, .el-h1, .jw-h1, .gd-h1, .tl-h1, .hm-h1 { font-size: 2.5rem; }
}

/* Crystals-for top3 heading */
.cf-top3-heading {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem !important;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--primary);
}
.cf-top3-heading::after { display: none; }

/* Hub OTHER STONES section heading */
.cf-others-heading {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-3);
}

/* === ORIGIN LIST — flag + country + 1-sentence, no images === */
.origin-list { margin: 16px 0 8px; display: flex; flex-direction: column; gap: 0; }
.origin-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-lt); }
.origin-row:last-child { border-bottom: 0; }
.origin-flag-lg { font-size: 2rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.origin-row-body { display: flex; flex-direction: column; gap: 3px; }
.origin-row-country { font-weight: 700; font-size: 0.9375rem; color: var(--ink); }
.origin-row-region { font-weight: 400; font-size: 0.8125rem; color: var(--ink-3); margin-left: 8px; }
.origin-row-desc { font-size: 0.875rem; color: var(--ink-2); line-height: 1.55; }

/* === HIDE 'A gentle note' disclaimer bars site-wide === */
.cf-disclaimer,
.ch-soft-note,
.crystals-for-disclaimer { display: none !important; }
/* === TOOL PAGE TABLES === */
.tool-table-wrap { overflow-x: auto; margin: 20px 0 28px; border-radius: var(--r-lg); border: 1px solid var(--border); }
.tool-lookup-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tool-lookup-table th { background: var(--primary); color: #fff; font-family: var(--font-b); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 14px; text-align: left; }
.tool-lookup-table td { padding: 9px 14px; border-bottom: 1px solid var(--border-lt); color: var(--ink-2); vertical-align: top; }
.tool-lookup-table tr:last-child td { border-bottom: 0; }
.tool-lookup-table tr:nth-child(even) td { background: var(--surface-2); }
.tool-html-block { margin: 20px 0; }
.tool-formula-block { background: var(--surface-2); border: 1px solid var(--border); border-left: 4px solid var(--primary-lt); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; font-family: var(--font-b); font-size: 0.9375rem; margin: 16px 0; }
.tool-decision-tree { margin: 20px 0; padding: 0; list-style: none; }
.tool-decision-tree li { padding: 10px 16px; border-bottom: 1px solid var(--border-lt); display: flex; gap: 12px; }
.tool-decision-tree li:last-child { border: 0; }
/* === CONTACT FORM === */
.contact-form-wrap { margin: 28px 0 32px; }
.gr-contact-form { display: flex; flex-direction: column; gap: 18px; max-width: 580px; }
.cf-row { display: flex; flex-direction: column; gap: 6px; }
.cf-row label { font-family: var(--font-b); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.cf-row input, .cf-row select, .cf-row textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r); font-family: var(--font-b); font-size: 0.9375rem; color: var(--ink); background: var(--surface); transition: border-color 0.15s; }
.cf-row input:focus, .cf-row select:focus, .cf-row textarea:focus { outline: none; border-color: var(--primary-lt); box-shadow: 0 0 0 3px rgba(91,60,179,0.12); }
.cf-row textarea { resize: vertical; min-height: 120px; }
.gr-contact-form .btn-primary { align-self: flex-start; }
.cf-notice { padding: 14px 18px; border-radius: var(--r); font-size: 0.9375rem; margin: 0 0 24px; }
.cf-notice--ok  { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; }
.cf-notice--err { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }
