/* about.css — inherits site theme; override per-page if needed */
@import url("styles.css");

/* Long-form typography for About */
.prose {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.75;
  color: var(--text);
}
.prose p { margin: 0 0 14px; }
.prose h2 { margin: 28px 0 10px; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem); }
.prose h3 { margin: 20px 0 8px; font-size: clamp(1.05rem, .95rem + .6vw, 1.3rem); }
.prose em { color: var(--muted); }
.prose a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.prose ol, .prose ul { padding-left: 20px; margin: 0 0 12px; }
.prose .ref-list { list-style: decimal; padding-left: 20px; }
.prose sup a { text-decoration: none; }
/* ---- Founder layout (centered, lively, no citations) ---- */
.founder .container { text-align: center; }
.founder-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 22px;
  align-items: start;
  justify-items: center;
}
.founder-panel { width: 100%; max-width: 520px; }
.founder-notes { display: grid; gap: 14px; width: 100%; }

/* Hex photo inside the neon panel */
.hex-wrap {
  width: 220px; height: 220px; margin: 10px auto 16px;
  position: relative; z-index: 1;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  background: radial-gradient(circle at 50% 50%, rgba(110,160,255,.20), rgba(157,107,255,.18));
  border: 2px solid rgba(110,160,255,.45);
  box-shadow: 0 0 30px rgba(110,160,255,.25) inset;
  display: grid; place-items: center;
}
.hex-photo {
  width: 180px; height: 180px; clip-path: inherit;
  background-image: url("assets/founder.jpg"), url("assets/founder.png");
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

/* Meta row and bars */
.founder-meta {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 13px; letter-spacing: .3px; margin-top: 6px;
  border-top: 1px dashed var(--border); padding-top: 10px;
}
.founder-meta strong { font-weight: 800; }
.founder-bars { margin-top: 18px; }

/* Give labels room: higher top margin, slight bottom margin; a touch taller bar */
.founder-bars .bar {
  position: relative;
  height: 10px;
  background: rgba(10,12,18,.08);
  border-radius: 999px;
  margin: 22px 0 12px;   /* ⬅️ more space above for the label */
}

/* Lift labels further from the bar */
.founder-bars .bar label {
  position: absolute;
  right: 8px;
  top: -26px;            /* was -18px */
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .2px;
}

.founder-bars .bar > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: inherit;
  box-shadow: 0 6px 14px rgba(110,160,255,.22) inset;
}
.reveal.in-view .founder-bars .bar > span { width: var(--w, 60%); transition: width .8s ease; }

/* Right notes */
.note-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10,12,18,.04), rgba(10,12,18,.02));
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 16px;
  text-align: left;
}
.note-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: 18px;
  background: linear-gradient(90deg, rgba(157,107,255,.25), rgba(110,160,255,.25));
  filter: blur(12px); opacity: .45; z-index: 0;
}
.note-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.note-icon {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 12px; font-size: 18px;
  background: linear-gradient(180deg, rgba(110,160,255,.35), rgba(157,107,255,.35));
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(110,160,255,.12);
}
.note-card p { position: relative; z-index: 1; color: var(--muted); margin: 0; }

@media (max-width: 1024px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-panel { justify-self: center; }
}
