/* Homepage intro (loaded only on "/"). Every rule is scoped to html.intro-on, which the head snippet sets only when the
   intro will actually play (JS on, no reduced motion, first home visit this session). Without it the page is untouched. */
html.intro-on .reveal{transition:none!important;transform:none!important}
html.intro-on :is(.site-header,.hero .eyebrow,.hero .headshot,.hero .h-display,.hero .role,.hero .lede,.hero .btn-row,.hero .hero-meta,main>section:not(.hero),.site-footer,.egg){opacity:0}
/* the career chart: its real line, grid, labels, area and points are driven by intro.js; the card's own slide-in/draw-in is switched off */
html.intro-on .chart-card,html.intro-on .chart-card *{transition:none!important}
html.intro-on .chart-card{position:relative;isolation:isolate;background:transparent;border-color:transparent;box-shadow:none}
html.intro-on .chart-card.reveal{opacity:1!important}
html.intro-on .chart-card header,html.intro-on .chart-card .legend,html.intro-on .career-svg .grid line,html.intro-on .career-svg .area,html.intro-on .career-svg .pts,html.intro-on .career-svg>text{opacity:0}
html.intro-on .career-svg .line{opacity:0;stroke-dasharray:none!important;stroke-dashoffset:0!important}
.intro-chrome{position:absolute;inset:-1px;border-radius:20px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);z-index:-1;pointer-events:none;opacity:0}
/* overlay */
.intro-ui{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1200;pointer-events:none;transition:opacity .2s}
.intro-ui.out{opacity:0}
.intro-cv{position:absolute;left:0;top:0}
.intro-skip{pointer-events:auto;position:absolute;right:22px;bottom:max(20px,env(safe-area-inset-bottom));font:500 12px var(--mono);letter-spacing:.04em;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:8px 15px;min-height:36px;cursor:pointer;transition:color .2s,border-color .2s}
.intro-skip:hover{color:var(--ink);border-color:var(--muted)}
.intro-skip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){html.intro-on :is(.site-header,.hero .eyebrow,.hero .headshot,.hero .h-display,.hero .role,.hero .lede,.hero .btn-row,.hero .hero-meta,main>section:not(.hero),.site-footer,.egg){opacity:1}.intro-ui{display:none}}
