/* ==========================================================================
   VENUS — RARE EARTH METALS PAGE
   Visual language: scientific · geological · material · technical. A specimen
   hero, an element→material→technology→application flow track, and periodic
   element tiles. Tokens only; leans on existing .element-grid / .value-chain.
   ========================================================================== */

/* ---------------------------------------------------------- Scientific hero */
.ree-hero {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background:
    radial-gradient(90% 120% at 88% 10%, rgba(184,115,51,0.14), transparent 55%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
  border-bottom: 1px solid var(--color-border-dark);
}
.ree-hero::before {                     /* fine technical grid, masked */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 80% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 80% at 80% 30%, #000 30%, transparent 80%);
}
.ree-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: var(--space-12);
  padding-block: clamp(2.5rem, 2rem + 3.5vw, 5rem); align-items: center;
}
@media (min-width: 992px) { .ree-hero__grid { grid-template-columns: 1.4fr 0.6fr; gap: var(--space-16); } }
.ree-hero__kicker {
  display: inline-flex; align-items: baseline; gap: var(--space-3);
  font-family: var(--font-mono); font-weight: var(--fw-semibold);
  font-size: var(--fs-small); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--copper-300); margin: 0 0 var(--space-4);
}
.ree-hero__kicker .idx { color: var(--steel-300); padding-right: var(--space-3); border-right: 1px solid var(--color-border-dark); }
.ree-hero__title {
  font-weight: var(--fw-bold); letter-spacing: -0.025em; line-height: 1.08;
  font-size: clamp(2.05rem, 1.4rem + 3vw, 3.5rem); color: var(--text-on-dark);
  max-width: 18ch; margin: 0 0 var(--space-6); text-wrap: balance;
}
.ree-hero__lede {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem); line-height: 1.55;
  color: var(--text-on-dark-muted); max-width: 54ch; margin: 0;
}

/* Specimen tile — a large periodic chip that anchors the materials identity. */
.specimen {
  background: linear-gradient(160deg, rgba(184,115,51,0.16), rgba(20,17,14,0.2));
  border: 1px solid var(--copper-600); border-radius: var(--radius-md);
  padding: var(--space-6); box-shadow: var(--shadow-lg);
  display: grid; gap: var(--space-2); max-width: 300px; margin-inline: auto;
}
.specimen__row { display: flex; align-items: baseline; justify-content: space-between; }
.specimen__no { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--copper-300); letter-spacing: 0.1em; }
.specimen__mass { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--steel-300); }
.specimen__sym { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: clamp(3.5rem, 8vw, 5rem); line-height: 1; color: var(--text-on-dark); letter-spacing: -0.03em; }
.specimen__name { font-weight: var(--fw-semibold); color: var(--text-on-dark); margin: 0; }
.specimen__use { font-size: var(--fs-small); color: var(--copper-300); margin: 0; }

/* ------------------------------------------------------------- Flow track --
   The page thesis: element -> material -> technology -> application. */
.flow-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: var(--space-4);
}
@media (min-width: 768px) { .flow-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }
.flow-node {
  position: relative; padding: var(--space-6) var(--space-4);
  border: var(--border-hairline); border-radius: var(--radius-md); background: var(--bg-page);
  text-align: center;
}
@media (min-width: 768px) {
  .flow-node { border-radius: 0; border-right: 0; }
  .flow-node:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .flow-node:last-child { border-right: var(--border-hairline); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
  /* copper connector arrow between nodes */
  .flow-node:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -1px; width: 10px; height: 10px;
    border-top: 2px solid var(--color-accent); border-right: 2px solid var(--color-accent);
    transform: translateY(-50%) rotate(45deg); background: var(--bg-page); z-index: 2;
  }
}
.flow-node__step { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); }
.flow-node__label { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--fs-h3); margin: var(--space-2) 0 var(--space-1); color: var(--color-text); }
.flow-node__note { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0; }

/* ----------------------------------------------- Periodic element tiles -----
   Enhance the shared .element-card into a periodic-table-like chip. */
.element-card { position: relative; padding-top: calc(var(--space-4) + 0.5rem); }
.element-card__no {
  position: absolute; top: var(--space-3); right: var(--space-3);
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--steel-500); letter-spacing: 0.06em;
}
.element-card__sym { display: block; line-height: 1; }

/* Section eyebrow-as-data label for scientific rhythm */
.data-label { font-family: var(--font-mono); font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-strong); }
