/* =====================================================================================
   Long-form guides (/guides/*, /market-insights/*): article layout, interactive widgets
   and the small SVG charts drawn by guide.js. Light site only (the storefront has no
   dark theme). Chart colours validated with the dataviz palette check:
     --g-s1 #2a6bbf (auction / series 1)  --g-s2 #b07d2a (dealer / series 2)
   both >= 3:1 on white, CVD-safe as a pair.
   ===================================================================================== */
.g { --g-ink: #202328; --g-ink-2: #4b5563; --g-ink-3: #6b7280; --g-gold: #C09B48; --g-gold-d: #9a7a32;
     --g-line: #ebe6da; --g-soft: #faf8f3; --g-s1: #2a6bbf; --g-s2: #b07d2a; --g-grid: #eeeae1; color: var(--g-ink); }
.g * { box-sizing: border-box; }

/* Hero */
.g-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; background: #111 center/cover no-repeat; }
.g-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.15) 0%, rgba(10,10,12,.72) 100%); }
.g-hero-inner { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 7rem 1.25rem 3.5rem; }
.g-eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g-gold); font-weight: 600; }
.g-hero .g-eyebrow { color: #e6c98a; }
.g-hero h1 { font-family: 'Canela', serif; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.04; margin: .6rem 0 1rem; max-width: 16ch; }
.g-hero p { font-size: 1.1rem; max-width: 42rem; color: rgba(255,255,255,.88); line-height: 1.6; }
.g-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.4rem; font-size: .8rem; color: rgba(255,255,255,.75); }

/* Layout */
.g-wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.g-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3.5rem; padding: 4rem 0 5rem; }
.g-toc { position: sticky; top: 110px; align-self: start; font-size: .82rem; }
.g-toc p { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-ink-3); margin: 0 0 .8rem; }
.g-toc a { display: block; padding: .38rem 0 .38rem .8rem; border-left: 2px solid var(--g-line); color: var(--g-ink-2); text-decoration: none; line-height: 1.35; }
.g-toc a:hover, .g-toc a.is-active { border-color: var(--g-gold); color: var(--g-ink); }
.g-article { min-width: 0; }
.g-article > section { padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--g-line); scroll-margin-top: 110px; }
.g-article > section:last-of-type { border-bottom: none; }
.g-article h2 { font-family: 'Canela', serif; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.12; margin: .35rem 0 1.2rem; }
.g-article h3 { font-family: 'Canela', serif; font-size: 1.45rem; margin: 2rem 0 .8rem; }
.g-article p, .g-article li { font-size: 1.04rem; line-height: 1.8; color: #2f3237; }
.g-article p { margin: 0 0 1.15rem; }
.g-article ul { padding-left: 1.2rem; margin: 0 0 1.2rem; list-style: disc; }
.g-article a:not(.g-btn) { color: var(--g-gold-d); text-decoration: underline; text-underline-offset: 3px; }
.g-lead { font-size: 1.22rem !important; line-height: 1.7 !important; color: var(--g-ink) !important; }
.g-small { font-size: .82rem !important; color: var(--g-ink-3) !important; line-height: 1.6 !important; }
.g-src + .g-src::before { content: ','; margin-right: 1px; }
.g-src { font-size: .72rem; color: var(--g-ink-3); vertical-align: super; text-decoration: none !important; margin-left: 1px; }

/* Callouts, quotes, pills */
.g-callout { background: var(--g-soft); border-left: 3px solid var(--g-gold); padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.g-callout p:last-child { margin-bottom: 0; }
.g-callout-title { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-gold-d); font-weight: 700; margin-bottom: .45rem; }
.g-desk { background: var(--g-ink); color: #fff; padding: 1.6rem 1.7rem; margin: 2rem 0; position: relative; }
.g-desk p { color: rgba(255,255,255,.9) !important; }
.g-desk .g-callout-title { color: #e6c98a; }
.g-quote { margin: 1.6rem 0; padding: 0 0 0 1.3rem; border-left: 1px solid var(--g-gold); }
.g-quote p { font-family: 'Canela', serif; font-size: 1.28rem !important; line-height: 1.45 !important; color: var(--g-ink) !important; margin-bottom: .4rem !important; }
.g-quote cite { font-style: normal; font-size: .8rem; color: var(--g-ink-3); }
.g-pill { display: inline-block; font-size: .72rem; padding: .25rem .65rem; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; color: var(--g-ink-2); }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.8rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--g-ink); color: var(--g-ink); background: #fff; cursor: pointer; transition: all .2s; }
.g-btn:hover { background: var(--g-ink); color: #fff; }
.g-btn-dark { background: var(--g-ink); color: #fff; }
.g-btn-dark:hover { background: #000; }

/* Cards / grids */
.g-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 1.6rem 0; }
.g-card { border: 1px solid var(--g-line); padding: 1.3rem 1.3rem 1.2rem; background: #fff; }
.g-card h4 { font-family: 'Canela', serif; font-size: 1.25rem; margin: .5rem 0 .4rem; }
.g-card p { font-size: .92rem !important; line-height: 1.6 !important; margin: 0 !important; color: var(--g-ink-2) !important; }
.g-card-num { font-family: 'Canela', serif; font-size: 2.3rem; line-height: 1; color: var(--g-gold-d); }
.g-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--g-line); border: 1px solid var(--g-line); margin: 1.8rem 0; }
.g-stat { background: #fff; padding: 1.4rem; }
.g-stat-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--g-ink-3); font-weight: 600; }
.g-stat-from { font-size: .95rem; color: var(--g-ink-3); margin-top: .7rem; }
.g-stat-to { font-family: 'Canela', serif; font-size: 2rem; line-height: 1.1; color: var(--g-ink); margin: .15rem 0 .5rem; }
.g-stat-note { font-size: .8rem; color: var(--g-ink-3); line-height: 1.5; }

/* Tabs / segmented control */
.g-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.g-tab { padding: .55rem 1rem; font-size: .8rem; border: 1px solid var(--g-line); background: #fff; color: var(--g-ink-2); cursor: pointer; border-radius: 999px; transition: all .15s; }
.g-tab:hover { border-color: var(--g-gold); }
.g-tab[aria-selected="true"] { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }

/* Tables */
.g-table-wrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--g-line); }
.g-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.g-table th, .g-table td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--g-line); vertical-align: top; line-height: 1.5; }
.g-table th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--g-ink-3); background: var(--g-soft); font-weight: 600; }
.g-table tr:last-child td { border-bottom: none; }
.g-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-table th.num { text-align: right; }

/* Widgets frame */
.g-widget { border: 1px solid var(--g-line); background: #fff; padding: 1.4rem; margin: 1.8rem 0; }
.g-widget-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem; margin-bottom: 1rem; }
.g-widget-title { font-family: 'Canela', serif; font-size: 1.3rem; }
.g-widget-note { font-size: .8rem !important; color: var(--g-ink-3) !important; line-height: 1.6 !important; margin: .9rem 0 0 !important; }

/* Charts */
.g-chart { position: relative; width: 100%; }
.g-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-chart .axis text { font-size: 11px; fill: var(--g-ink-3); font-family: inherit; }
.g-chart .grid line { stroke: var(--g-grid); stroke-width: 1; }
.g-chart .baseline { stroke: #cfc8b8; stroke-width: 1; }
.g-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .8rem; color: var(--g-ink-2); margin-bottom: .6rem; }
.g-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.g-key-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.g-key-sq { width: 10px; height: 10px; transform: rotate(45deg); display: inline-block; }
.g-key-line { width: 16px; height: 2px; display: inline-block; border-radius: 2px; }
.g-tip { position: absolute; pointer-events: none; z-index: 5; background: #fff; border: 1px solid var(--g-line); box-shadow: 0 10px 30px rgba(32,35,40,.14); padding: .7rem .85rem; font-size: .78rem; line-height: 1.45; color: var(--g-ink-2); max-width: 270px; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.g-tip.show { opacity: 1; transform: none; }
.g-tip strong { display: block; font-size: 1rem; color: var(--g-ink); font-variant-numeric: tabular-nums; }
.g-tip em { font-style: normal; color: var(--g-ink-3); }
.g-table-toggle { background: none; border: none; padding: 0; font-size: .78rem; color: var(--g-gold-d); text-decoration: underline; cursor: pointer; margin-top: .8rem; }

/* Timeline (horizontal scroller) */
.g-timeline { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .1rem 1rem; margin: 1.4rem 0; -webkit-overflow-scrolling: touch; }
.g-timeline::-webkit-scrollbar { height: 6px; } .g-timeline::-webkit-scrollbar-thumb { background: var(--g-line); border-radius: 3px; }
.g-tl-item { flex: 0 0 240px; scroll-snap-align: start; border-top: 2px solid var(--g-gold); padding-top: .9rem; }
.g-tl-year { font-family: 'Canela', serif; font-size: 1.7rem; line-height: 1; color: var(--g-gold-d); }
.g-tl-item h4 { font-size: .95rem; font-weight: 600; margin: .5rem 0 .35rem; }
.g-tl-item p { font-size: .86rem !important; line-height: 1.55 !important; color: var(--g-ink-2) !important; margin: 0 !important; }
.g-tl-hint { font-size: .75rem; color: var(--g-ink-3); }

/* Gem swatches (CSS-rendered faceted stones) */
.g-gem { --c1: #d8163f; --c2: #7a0a22; width: 64px; height: 52px; border-radius: 50%; position: relative; flex-shrink: 0;
         background: radial-gradient(ellipse at 38% 30%, rgba(255,255,255,.75) 0 6%, transparent 18%), radial-gradient(ellipse at 50% 50%, var(--c1) 0 45%, var(--c2) 100%);
         box-shadow: inset 0 -6px 12px rgba(0,0,0,.28), inset 0 5px 10px rgba(255,255,255,.2), 0 6px 14px rgba(0,0,0,.18); }
.g-gem::after { content: ''; position: absolute; inset: 14% 18%; border-radius: 50%;
                background: conic-gradient(from 20deg, rgba(255,255,255,.28), transparent 12%, rgba(0,0,0,.18) 25%, transparent 37%, rgba(255,255,255,.2) 50%, transparent 62%, rgba(0,0,0,.2) 75%, transparent 87%, rgba(255,255,255,.28)); }
.g-gem.lg { width: 150px; height: 120px; }

/* Colour explorer */
.g-explorer { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.g-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .6rem; }
.g-swatch { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: .9rem .4rem .7rem; border: 1px solid var(--g-line); background: #fff; cursor: pointer; font: inherit; font-size: .78rem; color: var(--g-ink-2); text-align: center; line-height: 1.3; transition: border-color .15s, box-shadow .15s; }
.g-swatch:hover { border-color: var(--g-gold); }
.g-swatch[aria-pressed="true"] { border-color: var(--g-ink); box-shadow: 0 0 0 1px var(--g-ink); color: var(--g-ink); }
.g-swatch .g-gem { width: 46px; height: 38px; }
.g-swatch-img { width: 56px; height: 56px; object-fit: contain; display: block; }
.g-swatch.is-avoid { background: repeating-linear-gradient(135deg, #fff 0 8px, #fbf6f6 8px 16px); }
.g-panel { display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem; align-items: start; background: var(--g-soft); padding: 1.5rem; border: 1px solid var(--g-line); }
.g-panel-visual { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.g-panel-visual img { width: 150px; height: 150px; object-fit: contain; }
.g-rank { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--g-gold-d); }
.g-rank-bar { display: flex; gap: 3px; } .g-rank-bar i { width: 18px; height: 4px; background: var(--g-line); display: block; } .g-rank-bar i.on { background: var(--g-gold); }
.g-panel h4 { font-family: 'Canela', serif; font-size: 1.6rem; margin: .4rem 0 .5rem; }
.g-panel dl { display: grid; grid-template-columns: 120px 1fr; gap: .45rem 1rem; font-size: .9rem; margin: 1rem 0 0; }
.g-panel dt { color: var(--g-ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.g-panel dd { margin: 0; color: var(--g-ink); line-height: 1.55; }

/* Colour slider (spinel red: right vs wrong) */
.g-slider-demo { display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem; align-items: center; }
.g-range { width: 100%; -webkit-appearance: none; appearance: none; height: 10px; border-radius: 5px; outline: none; cursor: pointer; }
.g-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--g-ink); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.g-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--g-ink); }
.g-verdict { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.g-verdict.good { background: #e9f6ee; color: #1f6b41; } .g-verdict.ok { background: #fbf3e2; color: #8a5a0b; } .g-verdict.bad { background: #fbeaea; color: #9b2c2c; }
.g-range-labels { display: flex; justify-content: space-between; font-size: .72rem; color: var(--g-ink-3); margin-top: .5rem; }

/* Quiz */
.g-quiz { border: 1px solid var(--g-line); background: #fff; }
.g-quiz-step { padding: 1.6rem; }
.g-quiz-q { font-family: 'Canela', serif; font-size: 1.45rem; margin-bottom: 1rem; }
.g-quiz-progress { height: 3px; background: var(--g-line); } .g-quiz-progress i { display: block; height: 100%; background: var(--g-gold); transition: width .3s; }
.g-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.g-option { text-align: left; padding: 1rem 1.1rem; border: 1px solid var(--g-line); background: #fff; cursor: pointer; font: inherit; font-size: .92rem; color: var(--g-ink); line-height: 1.4; transition: all .15s; display: flex; gap: .8rem; align-items: center; }
.g-option small { display: block; color: var(--g-ink-3); font-size: .78rem; margin-top: .2rem; }
.g-option:hover { border-color: var(--g-gold); background: var(--g-soft); }
.g-option .g-gem { width: 34px; height: 28px; }
.g-quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; font-size: .8rem; color: var(--g-ink-3); }
.g-quiz-nav button { background: none; border: none; color: var(--g-ink-2); cursor: pointer; font: inherit; text-decoration: underline; }
.g-result-stones { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.g-result-stone { text-decoration: none !important; color: var(--g-ink) !important; font-size: .82rem; }
.g-result-stone img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f3ee; margin-bottom: .45rem; }

/* Checklist meter */
.g-check { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--g-line); cursor: pointer; }
.g-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: #202328; flex-shrink: 0; cursor: pointer; }
.g-check strong { display: block; font-size: .98rem; }
.g-check span { display: block; font-size: .86rem; color: var(--g-ink-2); line-height: 1.55; margin-top: .15rem; }
.g-meter { height: 8px; background: var(--g-line); border-radius: 4px; overflow: hidden; margin: 1rem 0 .5rem; }
.g-meter i { display: block; height: 100%; width: 0; background: var(--g-gold); transition: width .35s; border-radius: 4px; }

/* Annotated report */
.g-report { position: relative; background: #fff; border: 1px solid #d9d3c4; box-shadow: 0 14px 40px rgba(32,35,40,.08); padding: 1.6rem; font-size: .84rem; }
.g-report-head { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--g-line); padding-bottom: .9rem; margin-bottom: .9rem; }
.g-report-title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.g-report-watermark { font-size: .65rem; color: #9b2c2c; letter-spacing: .12em; text-transform: uppercase; }
.g-report-grid { display: grid; grid-template-columns: 1fr 120px; gap: 1rem; }
.g-report-row { display: grid; grid-template-columns: 130px 1fr; gap: .6rem; padding: .42rem .5rem; margin: 0 -.5rem; border-radius: 4px; cursor: pointer; transition: background .15s; position: relative; }
.g-report-row:hover, .g-report-row.is-active { background: #fbf3e2; }
.g-report-row .k { color: var(--g-ink-3); }
.g-report-row .v { color: var(--g-ink); font-weight: 500; }
.g-hot { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--g-gold); color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.g-report-photo { border: 1px solid var(--g-line); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #faf9f6; cursor: pointer; }
.g-annot { margin-top: 1rem; background: var(--g-ink); color: #fff; padding: 1.2rem 1.3rem; min-height: 120px; }
.g-annot h5 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #e6c98a; margin: 0 0 .5rem; }
.g-annot p { color: rgba(255,255,255,.9) !important; font-size: .95rem !important; line-height: 1.65 !important; margin: 0 0 .6rem !important; }
.g-annot ul { margin: .2rem 0 0; padding-left: 1.1rem; } .g-annot li { color: rgba(255,255,255,.88) !important; font-size: .88rem !important; line-height: 1.6 !important; }

/* Decoder / selects */
.g-select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--g-line); background: #fff; font: inherit; font-size: .95rem; color: var(--g-ink); border-radius: 0; -webkit-appearance: none; appearance: none;
            background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.g-decoder { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.g-decoded { margin-top: 1rem; padding: 1.2rem 1.3rem; background: var(--g-soft); border: 1px solid var(--g-line); }
.g-decoded .g-verdict { margin-bottom: .6rem; }
.g-toggles { display: grid; gap: .6rem; }
.g-toggle { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .9rem; border: 1px solid var(--g-line); font-size: .9rem; }
.g-toggle select { border: 1px solid var(--g-line); padding: .35rem .5rem; font: inherit; font-size: .85rem; background: #fff; }
.g-toggles { grid-template-columns: minmax(0, 1fr); }
.g-toggle > span { min-width: 0; }
.g-toggle select { max-width: 58%; min-width: 0; text-overflow: ellipsis; }
.g-lab-verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
.g-lab-verdict { border: 1px solid var(--g-line); padding: .9rem; text-align: center; font-size: .8rem; }
.g-lab-verdict b { display: block; font-size: .95rem; margin-bottom: .45rem; letter-spacing: .06em; }
.g-lab-verdict small { display: block; color: var(--g-ink-3); margin-top: .45rem; line-height: 1.45; }

/* FAQ + CTA */
.g-faq details { border-bottom: 1px solid var(--g-line); }
.g-faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-family: 'Canela', serif; font-size: 1.2rem; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); color: var(--g-gold); font-size: 1.4rem; font-family: sans-serif; font-weight: 300; }
.g-faq details[open] summary::after { content: '\2212'; }
.g-faq details > div { padding: 0 0 1.2rem; }
.g-cta { background: var(--g-soft); border-top: 1px solid var(--g-line); padding: 4rem 1.25rem; text-align: center; }
.g-cta h2 { font-family: 'Canela', serif; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .4rem 0 .9rem; }
.g-cta p { color: var(--g-ink-2); max-width: 36rem; margin: 0 auto 1.8rem; line-height: 1.7; }
.g-cta-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.g-sources { font-size: .78rem; color: var(--g-ink-3); line-height: 1.7; }
.g-sources ol { padding-left: 1.2rem; list-style: decimal; } .g-sources li { font-size: .78rem !important; line-height: 1.6 !important; color: var(--g-ink-3) !important; word-break: break-word; }
.g-disclaimer { font-size: .8rem !important; color: var(--g-ink-3) !important; border: 1px solid var(--g-line); padding: 1rem 1.2rem; line-height: 1.6 !important; }

/* Guide index cards (guides / market-insights pages) */
.g-index-hero { position: relative; }
.g-index-hero::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.72); }
.g-index-hero > div { position: relative; }
.g-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem 2rem; }
.g-index-card { display: block; text-decoration: none; color: var(--g-ink); }
.g-index-card .img { aspect-ratio: 4 / 5; background: #f3f0e9 center/cover no-repeat; margin-bottom: 1.2rem; transition: opacity .2s; position: relative; }
.g-index-card:hover .img { opacity: .88; }
.g-index-card h3 { font-family: 'Canela', serif; font-size: 1.6rem; line-height: 1.2; margin: .4rem 0 .5rem; transition: color .2s; }
.g-index-card:hover h3 { color: var(--g-gold); }
.g-index-card p { font-size: .92rem; color: var(--g-ink-2); line-height: 1.6; }
.g-index-card .more { display: inline-block; margin-top: .9rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.g-index-card.is-soon { pointer-events: none; }
.g-index-card.is-soon .img::after { content: 'Coming soon'; position: absolute; left: 1rem; bottom: 1rem; background: #fff; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; padding: .45rem .7rem; }
.g-index-card.is-soon h3, .g-index-card.is-soon p { opacity: .55; }

@media (max-width: 900px) {
    .g-body { grid-template-columns: 1fr; gap: 0; padding-top: 2.5rem; }
    .g-toc { display: none; }
    .g-panel, .g-slider-demo { grid-template-columns: 1fr; }
    .g-panel-visual { flex-direction: row; justify-content: flex-start; }
    .g-panel-visual img { width: 110px; height: 110px; }
    .g-panel dl { grid-template-columns: 1fr; gap: .1rem; } .g-panel dd { margin-bottom: .6rem; }
    .g-decoder { grid-template-columns: 1fr; }
    .g-lab-verdicts { grid-template-columns: 1fr; }
    .g-report-grid { grid-template-columns: 1fr; }
    .g-report-photo { display: none; }
    .g-report-row { grid-template-columns: 110px 1fr; padding-right: 1.8rem; }
    .g-hero { min-height: 58vh; }
    .g-hero-inner { padding-bottom: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .g * { transition: none !important; } }

/* ---- Sept 2026 revisions ---- */
.g-spectrum { height: 34px; border-radius: 17px; margin-bottom: .2rem;
  background: linear-gradient(90deg, #b3001e 0%, #e0142f 12%, #f0661e 24%, #ff4f9e 38%, #b0187a 50%, #7a3fc8 62%, #b9a6e6 72%, #2f5fe8 84%, #3f7f9a 92%, #7d8792 100%); }
.g-card-badge { display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--g-gold-d); border: 1.5px solid var(--g-gold); padding: .45rem .8rem; line-height: 1; }
.g-red-stone { width: 170px; height: 170px; object-fit: contain; transition: filter .08s linear; }
.g-panel-link { margin-top: 1rem; display: inline-block; }
.g-option-img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.g-report-photo img { width: 96px; height: 96px; object-fit: contain; display: block; }
.g-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: 1.2rem 0; }
.g-ladder-step { border: 1px solid var(--g-line); padding: .9rem .9rem .8rem; background: #fff; }
.g-ladder-step i { display: block; height: 26px; margin-bottom: .6rem; }
.g-ladder-step b { display: block; font-size: .9rem; }
.g-ladder-step span { display: block; font-size: .8rem; color: var(--g-ink-2); margin-top: .25rem; line-height: 1.45; }
.g-ladder-step.is-best { border-color: var(--g-gold); box-shadow: 0 0 0 1px var(--g-gold); }
.g-scenario { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.2rem 0; }
.g-scenario div { border: 1px solid var(--g-line); padding: 1rem; background: #fff; text-align: center; }
.g-scenario b { display: block; font-family: 'Canela', serif; font-size: 1.35rem; font-weight: 400; margin: .3rem 0; }
.g-scenario span { font-size: .8rem; color: var(--g-ink-2); }
.g-scenario .is-gem { border-color: var(--g-gold); box-shadow: 0 0 0 1px var(--g-gold); }
@media (max-width: 640px) { .g-scenario { grid-template-columns: 1fr; } .g-red-stone { width: 130px; height: 130px; } }
