/* About page + market explorer */
.about-shell { max-width: 1120px; margin: 0 auto; padding: 0 1rem 2rem; }
.about-page .home-nav { position: sticky; top: 0; z-index: 30; }

.about-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
  min-height: 220px;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  background: #0b1220;
}
.about-hero-img {
  display: block;
  width: 100%;
  height: clamp(200px, 36vw, 380px);
  object-fit: cover;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem 1.35rem;
  background: linear-gradient(180deg, transparent 20%, rgba(6,10,18,0.88) 100%);
}
.about-hero-overlay .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #94a3b8; margin: 0 0 0.35rem; font-weight: 600;
}
.about-hero-overlay h1 {
  margin: 0 0 0.4rem; font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.2;
}
.about-hero-overlay .lead {
  margin: 0; max-width: 36rem; color: #cbd5e1; font-size: 0.95rem; line-height: 1.5;
}

.about-content { margin-bottom: 1.75rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.about-card {
  background: color-mix(in srgb, var(--card, #151c2c) 88%, transparent);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 16px;
  padding: 1.25rem 1.2rem;
  backdrop-filter: blur(8px);
}
.about-card h2, .about-card h3 { margin: 0 0 0.65rem; font-size: 1.15rem; }
.about-card p { color: var(--muted, #94a3b8); line-height: 1.6; font-size: 0.92rem; margin: 0 0 0.85rem; }
.about-card p strong { color: var(--text, #f1f5f9); }
.about-bullets {
  margin: 0; padding-left: 1.1rem; color: var(--muted, #94a3b8);
  font-size: 0.9rem; line-height: 1.65;
}
.about-bullets strong { color: var(--text, #f1f5f9); }
.addr-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.35rem !important; }
.addr { font-size: 1rem !important; color: var(--text) !important; line-height: 1.55 !important; }
.addr-note { font-size: 0.85rem !important; }
.about-ghost { display: inline-block; margin-top: 0.5rem; margin-left: 0.35rem; }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.pillar {
  background: var(--card, #151c2c);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 0.9rem 1rem;
  text-align: center;
}
.pillar strong { display: block; font-size: 1.15rem; color: var(--primary, #0ea5e9); }
.pillar span { font-size: 0.78rem; color: var(--muted, #94a3b8); }

/* Market explorer */
.market-explorer {
  margin: 0.5rem 0 1.75rem;
}
.market-explorer-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}
.market-explorer-head h2 { margin: 0; font-size: 1.15rem; }
.market-explorer-head .muted { margin: 0; font-size: 0.85rem; color: var(--muted, #94a3b8); }
.market-viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  background: color-mix(in srgb, var(--card, #151c2c) 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.market-track {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  width: max-content;
  animation: marketSlide 45s linear infinite;
}
.market-track:hover { animation-play-state: paused; }
@keyframes marketSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.market-loading { padding: 0.75rem 1rem; color: var(--muted); font-size: 0.9rem; }
.mkt-card {
  flex: 0 0 auto;
  width: 168px;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: var(--bg2, #121826);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
}
.mkt-card .mkt-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; }
.mkt-card img { width: 28px; height: 28px; border-radius: 50%; }
.mkt-card .sym { font-weight: 700; font-size: 0.88rem; text-transform: uppercase; }
.mkt-card .name { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkt-card .price { font-weight: 700; font-size: 0.95rem; margin-top: 0.2rem; }
.mkt-card .chg { font-size: 0.78rem; font-weight: 600; margin-top: 0.15rem; }
.mkt-card .chg.up { color: #34d399; }
.mkt-card .chg.down { color: #f87171; }

.home-links a.on { color: var(--primary, #0ea5e9); font-weight: 600; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .about-hero-overlay { padding: 1.1rem; }
  .about-pillars { grid-template-columns: 1fr 1fr; }
  .mkt-card { width: 148px; }
  .about-shell { padding: 0 0.75rem 1.5rem; }
}
