﻿/* =========================================================
   RING SIZE GUIDE PAGE
   New page (no design hand-off file to port)  every value below comes
   from assets/css/base/tokens.css, per BRAND-IDENTITY.md §3.

   Scoping: every rule is anchored to .ring-page  see BRAND-IDENTITY.md §2.
   ========================================================= */

.ring-page, .ring-page * { box-sizing: border-box; margin: 0; padding: 0; }

.ring-page a { color: inherit; }
.ring-page svg { display: block; }

/* ---------------- shared: eyebrow + breadcrumb ---------------- */
.ring-page .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--fm-font-sans);
  font-size: var(--fm-text-12);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--fm-gold-pale);
  margin-bottom: var(--fm-space-4);
}
.ring-page .eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--fm-gold);
  flex-shrink: 0;
}

.ring-page .crumb {
  max-width: 1180px;
  margin: 0 auto var(--fm-space-6);
  display: flex;
  align-items: center;
  gap: var(--fm-space-2);
  flex-wrap: wrap;
  font-family: var(--fm-font-sans);
  font-size: var(--fm-text-11-5);
  letter-spacing: 0.5px;
  color: var(--fm-cream-dim);
}
.ring-page .crumb a { text-decoration: none; transition: color var(--fm-duration-fast) var(--fm-ease); }
.ring-page .crumb a:hover { color: var(--fm-gold-light); }
.ring-page .crumb .sep { color: var(--fm-cream-dim); opacity: 0.5; }
.ring-page .crumb .here { color: var(--fm-gold-light); }

/* ---------------- intro (dark band) ---------------- */
.ring-page .ring-intro {
  background: var(--fm-black);
  padding: var(--fm-space-9) 72px;
  text-align: center;
}
.ring-page .ring-intro .eyebrow { justify-content: center; }
.ring-page .ring-intro-title {
  font-family: var(--fm-font-serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--fm-headline-light);
  margin-bottom: var(--fm-space-5);
}
.ring-page .ring-intro-lede {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--fm-font-sans);
  font-size: var(--fm-text-15);
  line-height: 1.75;
  color: var(--fm-cream-dim);
}

/* ---------------- measure + chart (light, two columns) ---------------- */
.ring-page .ring-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--fm-space-9) 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--fm-space-9);
}
.ring-page .ring-body h2 {
  font-family: var(--fm-font-serif);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--fm-ink);
  margin-bottom: var(--fm-space-6);
}

.ring-page .ring-steps {
  display: flex;
  flex-direction: column;
  gap: var(--fm-space-5);
}
.ring-page .ring-step {
  display: flex;
  align-items: flex-start;
  gap: var(--fm-space-4);
}
.ring-page .ring-step .num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--fm-radius-circle);
  border: 1px solid var(--fm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fm-font-serif);
  font-weight: 700;
  font-size: var(--fm-text-13);
  color: var(--fm-gold-deep);
}
.ring-page .ring-step p {
  font-family: var(--fm-font-sans);
  font-size: var(--fm-text-13-5);
  line-height: 1.7;
  color: var(--fm-ink-mute);
  padding-top: 3px;
}

.ring-page .ring-table-wrap { overflow-x: auto; }
.ring-page .ring-size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--fm-font-sans);
}
.ring-page .ring-size-table th,
.ring-page .ring-size-table td {
  padding: var(--fm-space-4) var(--fm-space-3);
  text-align: center;
  border-bottom: 1px solid var(--fm-divider-card);
  font-size: var(--fm-text-13-5);
  white-space: nowrap;
}
.ring-page .ring-size-table th {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: var(--fm-text-11);
  color: var(--fm-ink-mute);
  border-bottom: 1px solid var(--fm-gold);
}
.ring-page .ring-size-table td { color: var(--fm-ink); }
.ring-page .ring-size-table tbody tr:hover { background: var(--fm-surface-warm-hi); }
.ring-page .ring-chart-note {
  margin-top: var(--fm-space-4);
  font-family: var(--fm-font-sans);
  font-size: var(--fm-text-12-5);
  color: var(--fm-ink-faint);
}

/* ---------------- tips (dark band) ---------------- */
.ring-page .ring-tips {
  background: var(--fm-black);
  padding: var(--fm-space-8) 72px;
}
.ring-page .ring-tips-list {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fm-space-6);
}
.ring-page .ring-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--fm-space-3);
}
.ring-page .ring-tips-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: var(--fm-gold);
  stroke-width: 1.5;
}
.ring-page .ring-tips-list span {
  font-family: var(--fm-font-sans);
  font-size: var(--fm-text-13);
  line-height: 1.7;
  color: var(--fm-cream-dim);
}

/* ---------------- CTA (light) ---------------- */
.ring-page .ring-cta {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--fm-space-9) 24px;
  text-align: center;
}
.ring-page .ring-cta h2 {
  font-family: var(--fm-font-serif);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--fm-ink);
  margin-bottom: var(--fm-space-4);
}
.ring-page .ring-cta p {
  font-family: var(--fm-font-sans);
  font-size: var(--fm-text-14);
  line-height: 1.7;
  color: var(--fm-ink-mute);
  margin-bottom: var(--fm-space-7);
}

@media (max-width: 980px) {
  .ring-page .ring-body { grid-template-columns: 1fr; }
  .ring-page .ring-tips { padding-left: 32px; padding-right: 32px; }
  .ring-page .ring-tips-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ring-page .ring-intro,
  .ring-page .ring-body,
  .ring-page .ring-cta { padding-left: 20px; padding-right: 20px; }
  .ring-page .ring-tips { padding-left: 20px; padding-right: 20px; }
}

/* =========================================================
   LIGHT THEME  scoped to .ring-page, see page-about.css's own
   light-theme block for the pattern this follows.
   ========================================================= */
html[data-theme="light"] .ring-page {
  --fm-black: #ffffff;
  --fm-cream: #000000;
  --fm-cream-dim: #656565;
  --fm-headline-light: #000000;
  --fm-hairline-dark: rgba(0, 0, 0, 0.1);
  --fm-gold-pale: #C9A236;
  --fm-gold-light: #C9A236;
}
