/* ============================================================
   UFP500.ORG — SITE-SPECIFIC STYLES
   Science · Mechanisms · Research documentation
   ============================================================ */


/* HERO — 2-column layout
   ---------------------------------------------------------- */
.hero {
  padding: 128px 48px 96px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: border-color var(--speed);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-lead {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.8;
  max-width: 560px;
}
.hero-lead em { font-style: italic; color: var(--steel-dim); }


/* SPEC PANEL
   ---------------------------------------------------------- */
.spec-panel {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: background var(--speed), border-color var(--speed);
}
.spec-panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color var(--speed);
}
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: border-color var(--speed);
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
}
.spec-val {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cyan);
  font-weight: 500;
}
.spec-val.steel { color: var(--steel-dim); }


/* SCIENCE SECTION
   ---------------------------------------------------------- */
#science { background: var(--bg-2); }
.science-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.science-body { font-size: 15px; color: var(--mid); line-height: 1.85; }
.science-body p + p { margin-top: 20px; }
.science-body strong { color: var(--steel-dim); font-weight: 500; }


/* SIZE VISUALISER
   ---------------------------------------------------------- */
.size-viz {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  position: sticky;
  top: 80px;
  transition: background var(--speed), border-color var(--speed);
}
.size-viz-title {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.size-bar-group { margin-bottom: 16px; }
.size-bar-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.size-bar-name { font-family: var(--mono); font-size: 11px; color: var(--mid); }
.size-bar-val  { font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.size-bar-track {
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  transition: background var(--speed);
}
.size-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--cyan);
}
.size-bar-fill.dim { background: var(--border-2); }
.size-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  margin-top: 20px;
  line-height: 1.6;
}


/* MECHANISMS
   ---------------------------------------------------------- */
.mechanism-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--speed);
}
.mechanism-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--speed), border-color var(--speed);
}
.mechanism-item:last-child { border-bottom: none; }
.mechanism-item:hover { background: var(--bg-3); }
.mechanism-num {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 28px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  border-right: 1px solid var(--border);
  transition: border-color var(--speed);
}
.mechanism-body { padding: 24px 32px; }
.mechanism-body h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.mechanism-body p { font-size: 14px; color: var(--mid); line-height: 1.8; }
.formula {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,180,216,0.15);
  padding: 4px 10px;
  border-radius: 3px;
  margin-top: 12px;
  transition: background var(--speed);
}


/* MATERIAL CATEGORIES
   ---------------------------------------------------------- */
#ingredients { background: var(--bg-2); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: background var(--speed), border-color var(--speed);
}
.category-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background var(--speed);
}
.category-card:hover { background: var(--bg-3); }
.cat-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.category-card p { font-size: 14px; color: var(--mid); line-height: 1.8; }


/* FAQ
   ---------------------------------------------------------- */
#faq { background: var(--bg-2); }
.faq-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--speed);
}
.faq-item { border-bottom: 1px solid var(--border); transition: border-color var(--speed); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 32px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 24px;
  transition: background var(--speed);
}
.faq-q:hover { background: var(--bg-3); }
.faq-q span:first-child {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: -0.01em;
}
.faq-icon {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.25s ease, color var(--speed);
  line-height: 1;
}
.faq-icon.open { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 32px 24px;
  background: var(--bg);
  transition: background var(--speed);
}
.faq-a.open { display: block; }
.faq-a p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.85;
  border-left: 2px solid var(--cyan);
  padding-left: 20px;
}


/* RESEARCH CONTEXT
   ---------------------------------------------------------- */
#research { background: var(--bg-2); }
.research-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.research-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  transition: background var(--speed), border-color var(--speed);
}
.research-card .rc-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.research-card h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.research-card p { font-size: 14px; color: var(--mid); line-height: 1.8; }


/* COM BRIDGE
   ---------------------------------------------------------- */
.com-bridge {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
  margin: 0 48px;
  transition: background var(--speed), border-color var(--speed);
}
.com-bridge-text .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.com-bridge-text h2 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.com-bridge-text p { font-size: 15px; color: var(--mid); max-width: 480px; }


/* RESPONSIVE — .org specific
   ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero { padding: 100px 24px 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .science-cols { grid-template-columns: 1fr; }
  .size-viz { position: static; }
  .research-cols { grid-template-columns: 1fr; }
  .com-bridge { padding: 40px 32px; margin: 0 24px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .category-grid { grid-template-columns: 1fr; }
}
