/* ============================================================
   LONG-FORM PAGES — crystal guides, journal, shop landings,
   product pages, FAQ
   ============================================================ */

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; gap: 0.7rem; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2.4rem; }
.crumbs span[aria-hidden] { color: var(--accent); }
.crumbs a:hover { color: var(--fg); }
.crumbs--hero { margin-bottom: 2.2rem; flex-wrap: wrap; }
.crumbs a { transition: color 0.3s; }

/* ---------- prose ---------- */
.prose { font-size: 1.04rem; line-height: 1.9; color: var(--fg-2); }
.prose > section + section { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.15; color: var(--fg); margin-bottom: 1.1rem; letter-spacing: -0.01em; }
.prose h2::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); margin-bottom: 1.1rem; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p, .prose p + blockquote, .prose blockquote + p { margin-top: 1.05rem; }
.prose a { color: var(--fg); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: color 0.3s, background-size 0.4s var(--ease); }
.prose a:hover { color: var(--accent-text); }
.prose strong { color: var(--fg); font-weight: 400; }
.prose em { font-family: var(--serif); font-size: 1.08em; }
.prose ul, .prose ol { padding-left: 0; }
.prose li { position: relative; padding-left: 1.6rem; }
.prose li + li { margin-top: 0.55rem; }
.prose ul > li::before { content: ''; position: absolute; left: 0.2rem; top: 0.78em; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--accent); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 0.1em; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--accent-text); }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.5; color: var(--fg); border-left: 1px solid var(--accent); padding: 0.2rem 0 0.2rem 1.6rem; }

/* ---------- crystal guide ---------- */
.cx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cx-hero .display { margin-bottom: 0.8rem; }
.cx-name-zh { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--accent-text); margin-bottom: 1.6rem; }
.cx-name-zh .zh { font-style: normal; margin-left: 0.4rem; }
.cx-hero .lede { margin-bottom: 2rem; }
.cx-usage { display: inline-flex; gap: 0.9rem; align-items: baseline; padding: 0.9rem 1.3rem; border: 1px solid var(--line-2); font-size: 0.92rem; color: var(--fg-2); }
.cx-usage .small-caps { color: var(--accent-text); }
.cx-figure { justify-self: center; position: relative; }
.cx-figure .medal { --size: clamp(220px, 28vw, 360px); }
.cx-figure canvas { width: clamp(260px, 34vw, 460px); aspect-ratio: 1; touch-action: pan-y; }
.cx-figure .medal--orb { background: radial-gradient(circle at 34% 28%, #fff 0%, var(--orb) 38%, color-mix(in srgb, var(--orb) 60%, #000) 100%); }

.cx-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(2.4rem, 6vw, 6rem); align-items: start; }
.cx-aside { position: sticky; top: calc(var(--header) + 1.6rem); }
.cx-aside .cert { padding: 2rem 1.9rem; }
.cx-aside h2 { font-family: var(--sans); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; text-align: center; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.62rem 0; border-bottom: 1px dotted rgba(29, 26, 31, 0.2); }
.facts dt { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(29, 26, 31, 0.55); padding-top: 0.25rem; }
.facts dd { font-family: var(--serif); font-size: 1.05rem; text-align: right; color: var(--ink); }
.cx-aside__links { display: grid; gap: 0.9rem; margin-top: 1.8rem; justify-items: start; }

/* ---------- FAQ block ---------- */
.faq-block .fold summary h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.3; color: var(--fg); }
.faq-block .fold__body { color: var(--fg-2); max-width: 46rem; }
.faq-block .fold__body a { color: var(--accent-text); border-bottom: 1px solid var(--line-2); }

/* ---------- small cards: stones and articles ---------- */
.stone-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.stone-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.9rem; padding: 2rem 1.2rem 1.8rem; border: 1px solid var(--line); background: var(--card); transition: border-color 0.4s var(--ease), transform 0.6s var(--ease); }
.stone-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.stone-card .medal { --size: 96px; }
.stone-card .medal--orb { background: radial-gradient(circle at 34% 28%, #fff 0%, var(--orb) 40%, color-mix(in srgb, var(--orb) 60%, #000) 100%); }
.stone-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--fg); }
.stone-card span { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }

.article-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
.article-card { display: block; color: var(--fg); }
.article-card__img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.3rem; position: relative; }
.article-card__img::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, 0.5); pointer-events: none; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.article-card:hover .article-card__img img { transform: scale(1.05); }
.article-card .small-caps { color: var(--accent-text); }
.article-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.2; margin: 0.5rem 0 0.6rem; }
.article-card p { font-size: 0.92rem; color: var(--fg-2); }

/* ---------- journal article ---------- */
.ar-hero { padding-bottom: clamp(3rem, 6vw, 5rem); }
.ar-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.ar-hero .h1 { margin-bottom: 1.4rem; font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.ar-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.8rem; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }
.ar-hero__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; box-shadow: 0 0 0 1px var(--line-2); max-width: 460px; justify-self: end; width: 100%; }
.ar-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.ar-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(2rem, 6vw, 6rem); justify-content: center; align-items: start; }
.ar-toc { position: sticky; top: calc(var(--header) + 1.6rem); }
.ar-toc .small-caps { display: block; margin-bottom: 1rem; color: var(--accent-text); }
.ar-toc a { display: block; font-size: 0.86rem; line-height: 1.45; color: var(--fg-3); padding: 0.45rem 0 0.45rem 0.9rem; border-left: 1px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.ar-toc a:hover, .ar-toc a.is-active { color: var(--fg); border-left-color: var(--accent); }
.ar-note { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--fg-3); }
.chips-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- landing (category) ---------- */
.landing-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.landing-intro .arch__img { max-width: 420px; justify-self: center; width: 100%; }
.landing-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.landing-guide > section { border-top: 1px solid var(--line-2); padding-top: 1.6rem; }
.landing-guide h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.landing-guide h2::before { display: none; }

/* ---------- product page extras ---------- */
.pp-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3.4rem); }
.pp-story > section { border-top: 1px solid var(--line-2); padding-top: 1.6rem; }
.pp-story h2 { font-size: 1.6rem; }
.pp-story h2::before { display: none; }

/* ---------- FAQ page ---------- */
.faq-groups { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.faq-group > h2 { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .h2 { margin-bottom: 1.2rem; }
.cta-band .lede { margin: 0 auto 2.2rem; }
.cta-band__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 2rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .stone-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ar-layout { grid-template-columns: minmax(0, 720px); }
    .ar-toc { display: none; }
}
@media (max-width: 860px) {
    .cx-hero__grid, .cx-layout, .ar-hero__grid, .landing-intro, .landing-guide, .pp-story { grid-template-columns: minmax(0, 1fr); }
    .cx-figure { order: -1; }
    .cx-aside { position: static; }
    .ar-hero__img { justify-self: center; max-width: 360px; order: -1; }
}
@media (max-width: 560px) {
    .article-cards { grid-template-columns: minmax(0, 1fr); }
    .stone-card { padding: 1.4rem 0.8rem; }
    .stone-card .medal { --size: 76px; }
}

/* ---------- birthstone guide (Birthstones page) ---------- */
.bs-list { display: grid; gap: clamp(2.4rem, 5vw, 3.4rem); }
.bs-entry { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3rem); padding-top: 2rem; border-top: 1px solid var(--line-2); }
.bs-entry h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.15; margin: 0.4rem 0 0.5rem; }
.bs-entry h3 small { display: block; font-size: 1rem; font-style: italic; color: var(--fg-3); }
.bs-entry .small-caps { color: var(--accent-text); }
.bs-meta { font-size: 0.8rem; color: var(--fg-3); }
.k-stone__more { margin-top: 0.9rem; }
.k-stone__name a { color: inherit; }
.k-stone__name a:hover { color: var(--accent-text); }
.ar-related { margin-top: 2.6rem; }
.ar-related .small-caps { display: block; margin-bottom: 0.9rem; }
@media (max-width: 720px) { .bs-entry { grid-template-columns: minmax(0, 1fr); } }
