/* ============================================
   ROCKHER REVIEWS — site-wide stylesheet
   Used by: homepage (rendered via /api/render) and all content hub pages.
   ============================================ */

:root {
  --bg: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-subtle: #F2EDE3;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-muted: #8A8175;
  --line: #E4DCC9;
  --champagne: #8B7355;
  --gold: #C9A961;
  --verified: #3B6E47;
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Manrope', -apple-system, sans-serif;
  --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }

/* ============== TOP DISCLOSURE BAR (FTC compliance) ============== */
.disclosure-bar {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: 0.02em;
}
.disclosure-bar a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ============== HEADER ============== */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; }
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  line-height: 0;
}
.wordmark img { height: 32px; width: auto; display: block; }
.wordmark span {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-family: var(--body);
  font-weight: 500;
  line-height: 1;
}
nav.site-nav a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
nav.site-nav a:hover { color: var(--champagne); }

/* ============== HERO ============== */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--champagne); }
.hero .subhead {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Aggregate score block */
.agg-score {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 28px 44px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(139,115,85,0.04), 0 12px 40px -20px rgba(26,26,26,0.12);
}
.agg-score .num {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.agg-score .stars { font-size: 22px; color: var(--gold); letter-spacing: 2px; margin-bottom: 6px; }
.agg-score .meta { font-size: 13px; color: var(--ink-soft); }
.agg-score .meta strong { color: var(--ink); font-weight: 600; }

/* ============== TRUST ROW ============== */
.trust-row {
  padding: 64px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.trust-card:hover { transform: translateY(-2px); border-color: var(--champagne); }
.trust-card .platform {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
  font-weight: 600;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-card .platform img {
  height: 28px;
  width: auto;
  max-width: 140px;
  display: block;
}
.trust-card .platform.platform--bbb img { height: 36px; max-width: 110px; }
.trust-card .score {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}
.trust-card .stars-small { color: var(--gold); font-size: 14px; letter-spacing: 1px; margin: 8px 0; }
.trust-card .count { font-size: 13px; color: var(--ink-soft); }
.trust-card .link-text { font-size: 12px; color: var(--champagne); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 12px; font-weight: 600; }
.badge-svg { width: 56px; height: 56px; margin: 0 auto 8px; }

/* ============== SECTION TITLES ============== */
section.content { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  margin-bottom: 16px;
}
.section-head h2 em { font-style: italic; color: var(--champagne); }
.section-head p { color: var(--ink-soft); max-width: 580px; margin: 0 auto; font-size: 16px; }

/* ============== TRUSTPILOT WIDGET WRAPPER ============== */
.trustpilot-wrap {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
}
.trustpilot-placeholder {
  padding: 60px 20px;
  color: var(--ink-muted);
  font-size: 14px;
  font-style: italic;
  border: 1px dashed var(--line);
}

/* ============== REVIEW CARDS ============== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.review-card .source-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 20px;
}
.review-card .source-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verified); }
.review-card .stars-card { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.review-card .review-body {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}
.review-card .review-body::before { content: '"'; font-size: 32px; line-height: 0; vertical-align: -8px; color: var(--champagne); margin-right: 2px; }
.review-card .review-body::after { content: '"'; font-size: 32px; line-height: 0; vertical-align: -8px; color: var(--champagne); margin-left: 2px; }
.review-card .reviewer {
  font-size: 14px;
  color: var(--ink-soft);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-card .reviewer strong { color: var(--ink); font-weight: 600; }
.review-card .reviewer .date { font-size: 12px; color: var(--ink-muted); }
.review-card .review-product {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--champagne);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}
.review-card .review-product:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.review-card .review-product .vp-label { color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; font-weight: 600; display: block; margin-bottom: 3px; }

/* ============== PHOTO GALLERY ============== */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.photo-tile {
  aspect-ratio: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}
.photo-tile:hover { transform: scale(1.02); z-index: 2; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-subtle), var(--line));
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============== CREDENTIALS / ABOUT ============== */
.credentials {
  background: var(--ink);
  color: var(--bg);
  padding: 96px 0;
}
.credentials .section-head h2 { color: var(--bg); }
.credentials .section-head h2 em { color: var(--gold); }
.credentials .section-head p { color: rgba(250,247,242,0.7); }
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(250,247,242,0.12);
  border: 1px solid rgba(250,247,242,0.12);
}
.cred-item {
  background: var(--ink);
  padding: 40px 32px;
}
.cred-item .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.cred-item .value {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cred-item .detail { font-size: 14px; color: rgba(250,247,242,0.7); line-height: 1.5; }

/* ============== VERIFY SECTION ============== */
.verify-section { background: var(--bg-subtle); }
.verify-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.verify-link {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  transition: all 0.25s;
}
.verify-link:hover { border-color: var(--champagne); }
.verify-link .platform-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}
.verify-link .arrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 600;
}

/* ============== FAQ ============== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink);
}
.faq-item p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

/* ============== CTA ============== */
.cta-section {
  background: var(--bg-card);
  text-align: center;
  padding: 120px 0;
}
.cta-section h2 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  margin-bottom: 24px;
}
.cta-section h2 em { font-style: italic; color: var(--champagne); }
.cta-section p { color: var(--ink-soft); max-width: 540px; margin: 0 auto 40px; font-size: 17px; }
.cta-btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 18px 48px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--champagne); }

/* ============== FOOTER ============== */
footer {
  background: var(--ink);
  color: rgba(250,247,242,0.7);
  padding: 64px 0 32px;
  font-size: 14px;
  line-height: 1.7;
}
footer .footer-brand {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,247,242,0.12);
}
footer .footer-brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: inline-block;
}
footer .footer-brand .footer-brand-tag {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
  font-weight: 500;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
footer h4 {
  color: var(--bg);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
footer a { color: rgba(250,247,242,0.7); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer .legal {
  padding-top: 32px;
  border-top: 1px solid rgba(250,247,242,0.12);
  font-size: 12px;
  color: rgba(250,247,242,0.5);
  line-height: 1.7;
}
footer .legal p { margin-bottom: 12px; }
footer .legal strong { color: rgba(250,247,242,0.8); }
footer .last-updated { margin-top: 16px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,247,242,0.4); }

/* ============== LIGHTBOX (photo gallery popup) ============== */
.photo-tile { cursor: zoom-in; outline: none; }
.photo-tile:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox-content {
  position: relative;
  max-width: 1100px;
  max-height: 90vh;
  background: var(--bg);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: lightbox-in 0.22s ease-out;
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: var(--bg-subtle);
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
}
.lightbox-close:hover { background: #ffffff; }
.lightbox-caption {
  padding: 24px 32px 28px;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}
.lightbox-caption .lightbox-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.lightbox-caption .lightbox-source-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verified); }
.lightbox-caption .lightbox-review {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 8px;
}
.lightbox-caption .lightbox-review:empty { display: none; }
.lightbox-caption .lightbox-attrib {
  font-size: 13px;
  color: var(--ink-soft);
}
.lightbox-caption .lightbox-attrib strong { color: var(--ink); font-weight: 600; }

@media (max-width: 700px) {
  .lightbox { padding: 16px; }
  .lightbox-caption { padding: 16px 20px 20px; }
  .lightbox-caption .lightbox-review { font-size: 17px; }
}

/* Subtle decorative divider */
.ornament {
  text-align: center;
  margin: 0 auto 32px;
  color: var(--champagne);
  font-size: 14px;
  letter-spacing: 1em;
}

/* ============================================
   ARTICLE / CONTENT-HUB PAGES
   Used by: /lab-vs-natural, /custom-engagement-rings, /oura-covers, /diamond-prices
   ============================================ */

.article-main { padding: 64px 0 96px; }
.article-main .article-container { max-width: 820px; margin: 0 auto; padding: 0 32px; }

.article-source-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 16px 20px;
  margin-bottom: 48px;
}

.article-h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  color: var(--ink);
}

.article-byline {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.article-byline strong { color: var(--ink-soft); font-weight: 600; }
.article-byline time { color: var(--ink-soft); }

.article-intro {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 64px;
}

.article-section { margin-bottom: 64px; }
.article-section h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.answer {
  padding: 20px 24px;
  background: var(--bg-card);
  border-left: 3px solid var(--champagne);
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}

.article-body { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.article-body p { margin-bottom: 20px; }
.article-body a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink); }
.article-body ol, .article-body ul { margin: 20px 0 20px 28px; }
.article-body li { margin-bottom: 12px; }
.article-body strong { color: var(--ink); font-weight: 600; }

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 12px;
  font-size: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.article-table-caption {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 0;
  margin-top: 24px;
  font-style: italic;
  line-height: 1.5;
}
.article-table th {
  background: var(--bg-subtle);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--body);
}
.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
.article-table tr:last-child td { border-bottom: none; }
.article-table tbody th {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--bg-card);
  border-right: 1px solid var(--line);
}

.article-cta-row { margin: 32px 0 16px; }
.article-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 12px 12px 0;
  transition: background 0.2s, color 0.2s;
}
.article-cta:hover { background: var(--ink); color: var(--bg); text-decoration: none; }

.article-faq h2 { margin-bottom: 24px; }
.article-faq .article-faq-q {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}
.article-faq .article-faq-a {
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.7;
}

.article-related {
  background: var(--bg-subtle);
  padding: 64px 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-related .article-container { max-width: 820px; }
.article-related h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--ink);
}
.article-related ul { list-style: none; padding: 0; }
.article-related li { margin-bottom: 14px; font-size: 17px; }
.article-related li a {
  color: var(--champagne);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.article-related li a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.article-related li span { color: var(--ink-muted); font-size: 14px; margin-left: 10px; }

.article-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
  .cred-grid { grid-template-columns: 1fr; }
  .verify-grid { grid-template-columns: repeat(2, 1fr); }
  footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 48px; }
  section.content { padding: 64px 0; }
  .agg-score { flex-direction: column; gap: 16px; padding: 24px 32px; }
  .wordmark span { display: none; }
  nav.site-nav { display: none; }
  .article-main { padding: 32px 0 64px; }
  .article-main .article-container { padding: 0 20px; }
  .article-table { font-size: 13px; }
  .article-table th, .article-table td { padding: 10px 12px; }
}
