/* ==========================================================================
   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); }

.iridium-section {
  padding: 80px 20px;
  background: #f7f8fa;
}

.iridium-container {
  max-width: 1150px;
  margin: 0 auto;
}

.iridium-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 45px;
}

.iridium-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 14px;
  border-radius: 30px;
  background: #e9edf2;
  color: #4b5563;
  margin-bottom: 15px;
}

.iridium-header h2 {
  margin: 0 0 15px;
  font-size: 42px;
  font-weight: 800;
  color: #111827;
}

.iridium-header h2 span {
  color: #6b7280;
}

.iridium-header p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #667085;
}

.iridium-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.iridium-fact {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.iridium-fact span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.iridium-fact strong {
  display: block;
  font-size: 20px;
  color: #111827;
}

.iridium-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.iridium-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.iridium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.iridium-card-number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.iridium-card h3 {
  margin: 0 0 18px;
  font-size: 21px;
  color: #111827;
}

.iridium-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.iridium-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 13px;
  color: #5f6877;
  font-size: 15px;
  line-height: 1.6;
}

.iridium-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #374151;
}

@media (max-width: 900px) {
  .iridium-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .iridium-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .iridium-section {
    padding: 55px 16px;
  }

  .iridium-header h2 {
    font-size: 32px;
  }

  .iridium-facts {
    grid-template-columns: 1fr;
  }
}