/* eg-member.css  -  the public profile page (eg_member.php).  Every class starts with .egm
   Dark panel over the daily background, light text (STYLE-GUIDE). Bold hero, glowing score.
   Motion is off for people who ask for reduced motion. No em dashes. */

.egm { color: #f2f2f2; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.egm * { box-sizing: border-box; }
.egm a { color: #ddedfb; }
.egm h1, .egm h2 { color: #fff; margin: 0; line-height: 1.2; }
.egm p { margin: 0 0 8px; line-height: 1.5; }

.egm-card { padding: 0 0 10px; }
#container.egm { margin-bottom: 50px; overflow: hidden; }   /* the site's own #container rule keeps the top margin that clears the fixed menu */

/* ---------- Hero ---------- */
.egm-hero { position: relative; margin: -20px -20px 0; padding: 34px 26px 28px; overflow: hidden;
    background: radial-gradient(120% 140% at 12% 0%, rgba(92,184,92,.20) 0%, rgba(0,0,0,0) 60%), linear-gradient(180deg, #10180f 0%, #000 100%);
    border-radius: 15px 15px 0 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.egm-hero-art { position: absolute; top: 0; right: 0; width: 100%; height: 100%; pointer-events: none; }
.egm-hero-in { position: relative; display: flex; gap: 26px; align-items: center; }
.egm-ring { width: 132px; height: 132px; flex: 0 0 132px; border-radius: 50%; object-fit: cover; background: #222;
    border: 4px solid #5cb85c; box-shadow: 0 0 0 5px rgba(92,184,92,.18), 0 0 38px rgba(92,184,92,.45); }
.egm-initial { display: flex; align-items: center; justify-content: center; font-size: 58px; font-weight: 700; color: #fff; background: #2b3a2b; }
.egm-who h1 { font-size: 36px; letter-spacing: -.01em; }
.egm-headline { font-size: 19px; color: #ececec; margin: 6px 0 0; }
.egm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 !important; }
.egm-chip { display: inline-block; padding: 4px 13px; border-radius: 16px; font-size: 14px; font-weight: 600; color: #f2f2f2;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); }
.egm-chip-top { background: #f0932b; border-color: #f0932b; color: #1a1000; box-shadow: 0 0 22px rgba(240,147,43,.55); }
.egm-chip-quiet { color: #c9c9c9; font-weight: 400; border-color: rgba(255,255,255,.16); }

/* ---------- Sections ---------- */
.egm-sec { padding: 26px 0 8px; border-bottom: 1px solid rgba(255,255,255,.10); }
.egm-hero + .egm-sec { border-top: 0; }
.egm-card > .egm-sec, .egm-card > .egm-join { margin-left: 6px; margin-right: 6px; }
.egm-sec h2 { font-size: 22px; margin-bottom: 12px; }
.egm-lead { font-size: 20px; color: #fff; }
.egm-say { color: #d6d6d6; }
.egm-bio { font-size: 17px; }
.egm-fine { font-size: 13px; color: #a8a8a8; margin-top: 8px; }

/* ---------- AI score: dial, big number, tier ladder ---------- */
.egm-score { --egm-tier: #5cb85c; }
.egm-score-grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 26px; align-items: center; }
.egm-dial-wrap { position: relative; width: 100%; max-width: 340px; margin: 0 auto; }
.egm-dial { display: block; width: 100%; height: auto; overflow: visible; }
.egm-lit { filter: drop-shadow(0 0 7px rgba(255,255,255,.35)); }
.egm-dial-num { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; line-height: 1; }
.egm-num { display: block; font-size: 72px; font-weight: 800; letter-spacing: -.03em; color: #fff;
    text-shadow: 0 0 18px var(--egm-tier), 0 0 46px var(--egm-tier); animation: egmGlow 3.2s ease-in-out infinite; }
.egm-to { display: block; margin-top: 4px; font-size: 18px; color: #d6d6d6; }
@keyframes egmGlow { 0%,100% { text-shadow: 0 0 16px var(--egm-tier), 0 0 40px var(--egm-tier); } 50% { text-shadow: 0 0 24px var(--egm-tier), 0 0 64px var(--egm-tier); } }

.egm-ladder { list-style: none; margin: 14px 0 0; padding: 0; }
.egm-ladder li { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 12px; margin-bottom: 6px;
    border-radius: 8px; background: rgba(255,255,255,.04); color: #b9b9b9; font-size: 15px; }
.egm-ladder li i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); opacity: .55; }
.egm-ladder li span { font-size: 13px; color: #9a9a9a; }
.egm-ladder li.egm-on { background: rgba(255,255,255,.10); color: #fff; box-shadow: inset 0 0 0 1px var(--c), 0 0 20px -4px var(--c); }
.egm-ladder li.egm-on i { opacity: 1; box-shadow: 0 0 10px var(--c); }
.egm-ladder li.egm-on span { color: #ddd; }
.egm-here { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 10px; background: var(--c); color: #111; }

/* ---------- Mindsets: radar and legend ---------- */
.egm-mind-grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 22px; align-items: center; margin-top: 8px; }
.egm-radar-wrap { max-width: 380px; width: 100%; margin: 0 auto; }
.egm-radar { display: block; width: 100%; height: auto; overflow: visible; }
.egm-radar-shape { filter: drop-shadow(0 0 8px rgba(92,184,92,.55)); transform-origin: 160px 150px; animation: egmGrow 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes egmGrow { from { transform: scale(.05); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.egm-radar-l { font: 700 13px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.egm-radar-v { font: 400 12px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; fill: #cfcfcf; }

.egm-legend { list-style: none; margin: 0; padding: 0; }
.egm-legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 4px 10px; align-items: center; margin-bottom: 12px; font-size: 16px; }
.egm-legend li i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.egm-legend li b { color: #fff; }
.egm-legend .egm-bar { grid-column: 2 / -1; display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.egm-legend .egm-bar u { display: block; height: 100%; border-radius: 4px; background: var(--c); text-decoration: none; transform-origin: left; animation: egmBar 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes egmBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Traits ---------- */
.egm-traits, .egm-tips { list-style: none; margin: 14px 0 0; padding: 0; }
.egm-traits li { margin-bottom: 16px; }
.egm-trait-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 6px; }
.egm-trait-h b { color: #fff; }
.egm-trait-h span { color: #cfcfcf; font-size: 15px; }
.egm-scale { display: grid; grid-template-columns: 110px 1fr 130px; gap: 10px; align-items: center; font-size: 12px; color: #a8a8a8; }
.egm-scale em { font-style: normal; }
.egm-scale em:last-child { text-align: right; }
.egm-track { position: relative; display: block; height: 4px; background: rgba(255,255,255,.18); border-radius: 2px; }
.egm-track i { position: absolute; top: -5px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #5cb85c; border: 2px solid #111; box-shadow: 0 0 10px rgba(92,184,92,.7); }

/* ---------- Write to me ---------- */
.egm-tips li { padding: 8px 0 8px 22px; position: relative; font-size: 17px; }
.egm-tips li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 0; height: 0;
    border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid #f0932b; }   /* a triangle, not a bullet */

/* ---------- Share ---------- */
.egm-share-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 18px !important; }
.egm-sbtn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); color: #fff !important; text-decoration: none; font-family: inherit; }
.egm-sbtn:hover { background: rgba(255,255,255,.16); }

/* ---------- Join ---------- */
.egm-join { text-align: center; padding: 30px 0 10px; }
.egm-join h2 { font-size: 26px; margin: 0 auto 6px; }
.egm.apple-first .egm-join h2 { margin-left: auto; margin-right: auto; }
.egm-btn { display: inline-block; padding: 13px 28px; border-radius: 6px; background: #f0932b; color: #111 !important; font-weight: 700; font-size: 17px; text-decoration: none;
    box-shadow: 0 0 26px rgba(240,147,43,.45); }
.egm-btn:hover { background: #ffa94d; }

.egm-missing { text-align: center; padding: 30px 10px; }
.egm-missing h1 { font-size: 26px; margin-bottom: 10px; }

/* ---------- Reading width (apple-first) ---------- */
.egm.apple-first p, .egm.apple-first li { max-width: 25em; text-wrap: pretty; }
.egm.apple-first .egm-bio { max-width: 30em; }
.egm.apple-first .egm-join p, .egm.apple-first .egm-missing p { margin-left: auto; margin-right: auto; }
.egm.apple-first h2 { max-width: 20em; text-wrap: balance; }
.egm.apple-first .egm-legend li, .egm.apple-first .egm-ladder li, .egm.apple-first .egm-traits li, .egm.apple-first .egm-trait-h span { max-width: none; }
.egm.apple-first .egm-fine { max-width: 34em; }

/* ---------- Phones ---------- */
@media (max-width: 700px) {
  .egm-score-grid, .egm-mind-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .egm-hero { padding: 26px 16px 24px; }
  .egm-hero-in { flex-direction: column; text-align: center; gap: 16px; }
  .egm-chips { justify-content: center; }
  .egm-who h1 { font-size: 30px; }
  .egm-num { font-size: 60px; }
  .egm-scale { grid-template-columns: 1fr 1fr; }
  .egm-track { grid-column: 1 / -1; grid-row: 1; }
  .egm-share-row { justify-content: center; }
  .egm-share, .egm-share .egm-fine { text-align: center; }
  .egm.apple-first .egm-share .egm-fine { margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .egm-num, .egm-radar-shape, .egm-legend .egm-bar u { animation: none !important; }
}

/* ---------- Experience and skills (2026-09-30, from the member's LinkedIn PDF) ---------- */
.egm-roles { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid rgba(255,255,255,.14); }
.egm-roles li { position: relative; margin: 0 0 18px; }
.egm-roles li::before { content: ""; position: absolute; left: -25px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
    background: #5cb85c; box-shadow: 0 0 12px rgba(92,184,92,.6); }
.egm-role { font-size: 17px; color: #fff; margin: 0 !important; }
.egm-at { color: #a8a8a8; }
.egm-role-meta { margin: 2px 0 4px !important; }
.egm-role-sum { color: #d6d6d6; font-size: 15px; max-width: 42em; }
.egm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px !important; }
.egm-tag { padding: 4px 12px; border-radius: 14px; font-size: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); }
.egm-schools { margin: 0 0 10px; padding-left: 20px; }
.egm-schools li { margin: 0 0 6px; }
.egm.apple-first .egm-tags, .egm.apple-first .egm-roles li { max-width: 42em; }
.egm.apple-first .egm-schools li { max-width: 36em; }
