/* ─────────────── skills: the sheet is VS Code, Dark Modern ─────────────── */
.ide { --tree: 210px; --left: 420px; --term: 196px; --ide-line: #2b2b2b; --code: Menlo, "SF Mono", Consolas, var(--f-mono); position: absolute; inset: 0; display: grid; grid-template-columns: 48px var(--tree) var(--left) 1fr; grid-template-rows: 1fr 22px; background: #1f1f1f; color: #cccccc; font: 13px -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.ide button { all: unset; box-sizing: border-box; cursor: pointer; }
.ide .pic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ide.resizing, .ide.resizing * { user-select: none; }
.ide-act { background: #181818; border-right: 1px solid var(--ide-line); display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.ide .ide-act button { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; color: #868686; }
.ide .ide-act button:hover { color: #d7d7d7; }
.ide .ide-act button.on { color: #d7d7d7; box-shadow: inset 2px 0 0 #0078d4; }
.ide-act .pic { width: 24px; height: 24px; stroke-width: 1.3; }
.ide-act .si { width: 22px; height: 22px; }
.ide-act [data-scm-badge] { position: absolute; right: 8px; bottom: 8px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: #0078d4; color: #fff; font: 600 9px/16px -apple-system, BlinkMacSystemFont, system-ui, sans-serif; text-align: center; }
.ide-act-end { margin-top: auto; padding-bottom: 4px; display: flex; flex-direction: column; }
.ide-tree { position: relative; min-width: 0; background: #181818; border-right: 1px solid var(--ide-line); font-size: 13px; }
.ide-h { position: relative; display: flex; align-items: center; justify-content: space-between; height: 35px; padding: 0 12px 0 20px; font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: #cccccc; }
.ide-h span { letter-spacing: 0; color: #9d9d9d; }
.ide-root, .ide-dir { height: 22px; line-height: 22px; padding: 0 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.ide-dir { padding-left: 18px; font-size: 13px; font-weight: 400; text-transform: none; }
.ide .ide-file { display: flex; gap: 6px; align-items: center; width: 100%; height: 22px; padding: 0 12px 0 38px; color: #cccccc; white-space: nowrap; }
.ide .ide-file.top { padding-left: 24px; }
.ide-file b { font: 700 9px var(--code); width: 16px; text-align: center; }
.ide .ide-file:hover { background: #2a2d2e; }
.ide .ide-file.on { background: #04395e; box-shadow: inset 0 0 0 1px #0078d4; color: #fff; }
.ide b.ts { color: #3178c6; } .ide b.md { color: #519aba; } .ide b.json { color: #cbcb41; }
.ide-left { position: relative; display: grid; grid-template-rows: 35px 1fr; min-width: 0; min-height: 0; border-right: 1px solid var(--ide-line); background: #1f1f1f; }
.ide-right { position: relative; display: grid; grid-template-rows: 35px 22px 1fr var(--term); min-width: 0; min-height: 0; }
.ide.term-closed .ide-right { grid-template-rows: 35px 22px 1fr 0; }
.ide.term-closed .ide-term { display: none; }
.ide-sash { position: absolute; z-index: 5; }
.ide-sash.v { top: 0; bottom: 0; right: -3px; width: 6px; cursor: col-resize; }
.ide-sash.h { left: 0; right: 800px; top: -3px; height: 6px; cursor: row-resize; }
.ide-sash::after { content: ""; position: absolute; inset: 0; background: #0078d4; opacity: 0; transition: opacity .15s .1s; }
.ide-sash.v::after { left: 2px; right: 2px; } .ide-sash.h::after { top: 2px; bottom: 2px; }
.ide-sash:hover::after, .ide.resizing .ide-sash:active::after { opacity: 1; }
.ide-tabs { display: flex; min-width: 0; overflow: hidden; background: #181818; border-bottom: 1px solid var(--ide-line); font-size: 13px; }
.ide-tabs span { display: flex; flex: none; gap: 6px; align-items: center; padding: 0 8px 0 12px; color: #9d9d9d; border-right: 1px solid var(--ide-line); cursor: pointer; white-space: nowrap; }
.ide-tabs span:hover { color: #cccccc; }
.ide-tabs span.on { background: #1f1f1f; color: #ffffff; box-shadow: inset 0 1px 0 #0078d4; margin-bottom: -1px; }
.ide-tabs b { font: 700 9px var(--code); }
.ide-tabs u { width: 8px; height: 8px; border-radius: 50%; background: #cccccc; margin-left: 2px; }
.ide-tabs em { font-style: normal; width: 20px; height: 20px; line-height: 20px; text-align: center; margin-left: 4px; border-radius: 4px; color: #cccccc; opacity: 0; }
.ide-tabs span.on em, .ide-tabs span:hover em { opacity: 1; }
.ide-tabs em:hover { background: #313232; }
.ide-crumbs { display: flex; align-items: center; gap: 4px; padding: 0 16px; font-size: 12.5px; color: #a9a9a9; background: #1f1f1f; white-space: nowrap; overflow: hidden; }
.ide-crumbs i { font-style: normal; color: #6e7681; margin: 0 2px; }
.ide-crumbs b { font: 700 9px var(--code); margin-right: 2px; }
.ide-none { padding: 20px; color: #6e7681; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }

/* the markdown preview */
.readme { min-height: 0; overflow: auto; padding: 36px 40px 40px; font-family: var(--f-sans); color: #cccccc; --ink: #e7e7e7; --ink-2: #b8b8b8; --ink-3: #8b8b8b; --rule: #3c3c3c; }
.readme .chapter { margin-bottom: 22px; } .readme .chapter b { color: #4daafc; }
.readme h1 { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #3c3c3c; font: 700 38px/1.05 var(--f-display); letter-spacing: -.03em; color: #f0f0f0; text-wrap: balance; }
.readme h1 em { font-style: normal; color: #ff7a33; }
.readme :is(h2, h3, h4, h5) { margin: 22px 0 10px; font: 600 18px/1.3 var(--f-sans); color: #e7e7e7; }
.readme p { margin: 0 0 14px; font: 15px/1.6 var(--f-serif); color: #b8b8b8; }
.readme ul { margin: 0 0 14px; padding-left: 20px; }
.readme li { margin: 0 0 10px; font: 14px/1.55 var(--f-sans); color: #b8b8b8; }
.readme b { color: #e7e7e7; font-weight: 600; }
.readme code { font: 12.5px var(--code); padding: 1px 5px; border-radius: 4px; background: #2b2b2b; color: #d7ba7d; }

/* the editor: colored lines under a transparent textarea, so it types like a real editor */
.ide-code { display: flex; align-items: flex-start; min-height: 0; overflow: auto; background: #1f1f1f; padding-right: 800px; }
.ide-gutter { flex: none; position: sticky; left: 0; z-index: 2; width: 76px; padding: 4px 0 40px; background: #1f1f1f; font: 13px/20px var(--code); }
.ide-gutter div { display: grid; grid-template-columns: 52px 24px; align-items: center; height: 20px; }
.ide-gutter em { font-style: normal; text-align: right; padding-right: 8px; color: #6e7681; }
.ide-gutter div.on em { color: #cccccc; }
.ide-gutter i { display: grid; place-items: center; }
.ide-gutter i :is(.si, .pic, .mark) { width: 14px; height: 14px; }
.ide-gutter i .pic { color: #cccccc; }
.ide .si[style*="#17140f"] { background: #cccccc; }
.ide-edit { position: relative; flex: 1 0 auto; min-height: 100%; }
.ide-hl, .ide-edit textarea { margin: 0; padding: 4px 120px 40px 6px; font: 13px/20px var(--code); tab-size: 2; white-space: pre; }
.ide-hl { position: relative; color: #cccccc; pointer-events: none; }
.ide-hl .ln { display: block; height: 20px; }
.ide-edit textarea { all: unset; position: absolute; inset: 0; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 4px 120px 40px 6px; font: 13px/20px var(--code); white-space: pre; overflow: hidden; resize: none; color: transparent; caret-color: #ffffff; cursor: text; }
.ide-edit textarea::selection { background: rgba(38,120,220,.32); color: transparent; }
.ide-cur { position: absolute; left: 0; right: 0; top: 4px; height: 20px; background: #282828; pointer-events: none; }
.ide-edit:not(:focus-within) .ide-cur { background: transparent; box-shadow: inset 0 0 0 1px #282828; }
.ide .k { color: #569cd6; } .ide .v { color: #4fc1ff; } .ide .s { color: #ce9178; } .ide .c { color: #6a9955; } .ide-hl b { color: #cccccc; font-weight: 700; }
.ide-mini { position: absolute; right: 814px; top: 61px; width: 90px; display: flex; flex-direction: column; gap: 2px; padding-top: 6px; pointer-events: none; }
.ide-mini i { display: block; height: 2px; background: rgba(204,204,204,.28); border-radius: 1px; }
.ide-mini::before { content: ""; position: absolute; left: -6px; right: -6px; top: 0; height: 64px; background: rgba(121,121,121,.12); }

/* the panel: four real tabs */
.ide-term { position: relative; display: grid; grid-template-rows: 35px 1fr; min-height: 0; background: #181818; border-top: 1px solid var(--ide-line); color: #cccccc; font: 12.5px/20px var(--code); }
.ide-term .ide-h { justify-content: flex-start; gap: 20px; height: 35px; padding: 0 16px; font: 11px -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.ide .ide-term .ide-h [data-panel] { height: 35px; line-height: 35px; color: #9d9d9d; }
.ide .ide-term .ide-h [data-panel]:hover { color: #cccccc; }
.ide .ide-term .ide-h [data-panel].on { color: #e7e7e7; box-shadow: inset 0 -1px 0 #0078d4; }
.ide-pbody { min-height: 0; overflow: auto; padding: 0 816px 10px 16px; }
.ide-pbody .tl { white-space: pre-wrap; word-break: break-word; animation: none !important; clip-path: none; }
.ide-pbody .warn { color: #cca700; }
.ide-prompt { display: flex; gap: 0; align-items: center; cursor: text; }
.ide-prompt input { all: unset; flex: 1; margin-left: 8px; font: inherit; color: #cccccc; caret-color: #cccccc; }
.ide-term .pr { color: #23d18b; } .ide-term .k { color: #cccccc; } .ide-term .ok { color: #23d18b; }
.ide .ide-x { position: absolute; right: 810px; top: 7px; width: 22px; height: 22px; line-height: 22px; text-align: center; font-size: 16px; color: #9d9d9d; border-radius: 4px; }
.ide .ide-x:hover { color: #fff; background: #313232; }
.ide-status { grid-column: 1 / -1; display: flex; gap: 2px; align-items: center; padding: 0 8px; background: #0078d4; color: #fff; font-size: 12px; white-space: nowrap; }
.ide-status > * { display: inline-flex !important; align-items: center; gap: 4px; height: 22px; padding: 0 6px !important; }
.ide-status > *:hover { background: rgba(255,255,255,.12); }
.ide-status .pic { width: 13px; height: 13px; }
.ide-status .r { margin-left: auto; }
.ide.typing .ide-hl .ln { animation: typeln .45s steps(30) both; animation-delay: calc(var(--n) * 60ms + 150ms); }
.ide.typing .ide-gutter i { animation: fadein .3s both; animation-delay: calc(var(--n) * 60ms + 400ms); }
.art[data-id="skills"] { --ground: #1f1f1f; }

/* the editor runs past the sheet's sides so a wide window never shows a band of ground around it */
.art[data-id="skills"] { overflow: visible; }
.ide { left: calc(-1 * var(--bl, 0px)); right: -800px; top: calc(-1 * var(--bt, 0px)); bottom: calc(-1 * var(--bb, 0px)); grid-template-columns: 48px var(--tree) var(--left) 1fr; }
.ide-act, .ide-tree, .ide-left, .ide-right { grid-row: 1; }
.ide-status { grid-row: 2; padding: 0 808px 0 8px; }

/* ─────────────── cover: the Figma canvas, no layers panel ─────────────── */
.cv { position: absolute; inset: 0; }
.cv h1 { position: absolute; left: 140px; top: 150px; margin: 0; font: 700 84px/.94 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); }
.cv p { position: absolute; left: 140px; top: 340px; width: 500px; margin: 0; font: 400 15px/1.62 var(--f-serif); color: var(--ink-2); }
.cv .btn { position: absolute; left: 140px; top: 680px; border-radius: 12px; transition: transform .12s; }
.cv .btn.pressed { transform: scale(.96); }
.cv .photo-layer { left: 800px; top: 104px; width: 330px; height: 360px; border-radius: 18px; }
.fx-hover, .fx-sel, .fx-gap { position: absolute; pointer-events: none; opacity: 0; z-index: 4; }
.fx-hover { border: 1.5px solid #0d99ff; transition: opacity .12s; }
.fx-hover.on { opacity: 1; }
.fx-sel { border: 1px solid #0d99ff; }
.fx-sel.on { opacity: 1; }
.fx-sel i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1px solid #0d99ff; border-radius: 1px; }
.fx-sel i:nth-child(1) { left: -4.5px; top: -4.5px; } .fx-sel i:nth-child(2) { right: -4.5px; top: -4.5px; }
.fx-sel i:nth-child(3) { left: -4.5px; bottom: -4.5px; } .fx-sel i:nth-child(4) { right: -4.5px; bottom: -4.5px; }
.fx-name { position: absolute; left: -1px; bottom: calc(100% + 6px); font: 500 11px var(--f-sans); font-style: normal; color: #0d99ff; white-space: nowrap; }
.fx-dim { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); background: #0d99ff; color: #fff; font: 600 10.5px var(--f-sans); padding: 2px 6px; border-radius: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx-gap { width: 1px; background: #f24822; transition: opacity .15s; }
.fx-gap::before, .fx-gap::after { content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: #f24822; }
.fx-gap::before { top: 0; } .fx-gap::after { bottom: 0; }
.fx-gap span { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); background: #f24822; color: #fff; font: 600 10.5px var(--f-sans); padding: 1px 5px; border-radius: 4px; }
.fx-gap.on { opacity: 1; }
.fx-cursor { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; transition: transform .75s cubic-bezier(.3,.75,.15,1); will-change: transform; }
.fx-cursor svg { display: block; transition: transform .1s; transform-origin: 2px 2px; filter: drop-shadow(0 2px 3px rgba(23,20,15,.25)); }
.fx-cursor.down svg { transform: scale(.86); }
.fx-cursor b { position: absolute; left: 17px; top: 19px; background: #e8551f; color: #fff; font: 600 11px var(--f-sans); padding: 3px 8px; border-radius: 10px 10px 10px 3px; white-space: nowrap; }
.art:not(.live) :is(.fx-cursor, .fx-sel, .fx-hover, .fx-gap) { opacity: 0 !important; }

/* a slim layers panel, synced to the selection; the design sits right beside it */
.cv-layers { position: absolute; left: 0; top: 0; bottom: 0; width: 148px; padding: 18px 8px; background: rgba(255,255,255,.5); border-right: 1px solid var(--hair); z-index: 3; }
.cv-lh { font: 600 9px var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 8px 10px; }
.cv-row { display: flex; gap: 7px; align-items: center; height: 26px; padding: 0 8px; border-radius: 5px; font: 11.5px var(--f-sans); color: var(--ink-2); transition: background .12s, color .12s; }
.cv-row.kid { padding-left: 20px; }
.cv-row i { font-style: normal; width: 12px; text-align: center; font: 10px var(--f-mono); color: var(--ink-3); }
.cv-row.hover { box-shadow: inset 0 0 0 1px #0d99ff; }
.cv-row.on { background: rgba(13,153,255,.14); color: #17140f; }
.cv-row.on i { color: #0d99ff; }
.cv h1, .cv p, .cv .btn { left: 196px; }
.cv .photo-layer { left: 880px; }
.art:not(.live) .cv-row { background: none; box-shadow: none; }

/* layers as a floating Figma panel on the canvas, not a strip glued to the sheet edge */
.cv-layers { left: 20px; top: 20px; bottom: auto; width: 176px; padding: 10px 6px 8px; background: #fffdf8; border: 0; border-radius: 12px; box-shadow: 0 1px 2px rgba(23,20,15,.06), 0 12px 32px -14px rgba(23,20,15,.28), 0 0 0 1px rgba(23,20,15,.06); }
.cv-lh { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 8px; margin-bottom: 4px; border-bottom: 1px solid rgba(23,20,15,.07); font: 600 11px var(--f-sans); letter-spacing: 0; text-transform: none; color: #17140f; }
.cv-lh span { font: 500 10px var(--f-sans); color: rgba(23,20,15,.45); }
.cv-row { height: 28px; font: 12px var(--f-sans); }
.cv h1, .cv p, .cv .btn { left: 250px; }

/* full-sheet wrappers pass the pointer through, so the chip's peeking corner can still be hovered and clicked */
.cv, .evidence { pointer-events: none; }
.cv > *, .evidence > * { pointer-events: auto; }

.graph, .phones, .rail { pointer-events: none; }
.phones .phone { pointer-events: auto; }

/* the ethos statement carries the full paragraph from the live site, so it sets a size smaller */
.art[data-id="ethos"] .stmt { width: 400px; }
.art[data-id="ethos"] .stmt .sub { font-size: 15.5px; line-height: 1.6; }

/* six beliefs on the loop: a narrower card centered on the ring so the side labels clear it */
.core { left: 260px; top: 278px; width: 240px; }
.core .body { min-height: 0; }
.core .body p { font-size: 12.5px; }

/* the status bar sits above the skills chip, which peeks out just over its top edge */
.ide-status { position: relative; z-index: 6; }

/* contact: the hint beside the send button */
.compose footer .hint { max-width: 300px; font: 12px/1.4 var(--f-sans); color: rgba(23,20,15,.55); }

/* the coursework list trails off rather than pretending to be complete */
.check.more { padding-left: 26px; color: var(--ink-3); font-style: italic; }

/* ─────────────── annotations on the cover ─────────────── */
.notes { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.n-pin { position: absolute; display: flex; gap: 10px; align-items: flex-start; }
.n-marker { width: 34px; height: 34px; flex-shrink: 0; padding: 2px; border-radius: 50% 50% 50% 0; background: #fff; box-shadow: 0 2px 8px rgba(23,20,15,.18), 0 0 0 1px rgba(23,20,15,.06); }
.n-marker img { width: 100%; height: 100%; border-radius: 50% 50% 50% 0; background: #ffb27a; object-fit: cover; object-position: center 20%; }
.n-thread { width: 252px; padding: 12px 14px 10px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(23,20,15,.06), 0 14px 34px -14px rgba(23,20,15,.28), 0 0 0 1px rgba(23,20,15,.06); font-family: var(--f-sans); color: #17140f; }
.n-thread header { display: flex; align-items: center; gap: 8px; }
.n-thread header img { width: 22px; height: 22px; border-radius: 50%; background: #ffb27a; object-fit: cover; object-position: center 20%; }
.n-thread header b { font: 600 12.5px var(--f-sans); }
.n-thread time { font: 12px var(--f-sans); color: rgba(23,20,15,.45); }
.n-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #0d99ff; }
.n-thread p { margin: 8px 0 0; font: 13px/1.5 var(--f-sans); color: rgba(23,20,15,.84); }
.n-reply { margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(23,20,15,.04); font: 12px var(--f-sans); color: rgba(23,20,15,.4); }

.n-prd { position: absolute; width: 236px; padding: 11px 13px 12px; background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(23,20,15,.06), 0 14px 34px -16px rgba(23,20,15,.26), 0 0 0 1px rgba(23,20,15,.06); font-family: var(--f-sans); color: #17140f; }
.n-prd header { display: flex; align-items: center; gap: 6px; }
.n-prd header svg { width: 14px; height: 14px; fill: none; stroke: #e8551f; stroke-width: 1.3; stroke-linejoin: round; }
.n-prd header span { font: 600 11px var(--f-sans); color: rgba(23,20,15,.55); }
.n-prd header em { margin-left: auto; font: 600 10px var(--f-mono); letter-spacing: .08em; font-style: normal; color: #c8401a; background: rgba(232,85,31,.1); padding: 3px 7px; border-radius: 999px; }
.n-prd > b { display: block; margin-top: 8px; font: 600 13px var(--f-sans); }
.n-prd p { margin: 3px 0 0; font: 12.5px/1.45 var(--f-sans); color: rgba(23,20,15,.72); }
.n-lead { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }
.n-lead path { fill: none; stroke: #e8551f; stroke-width: 1; stroke-dasharray: 3 3; }
.n-lead circle { fill: #fff; stroke: #e8551f; stroke-width: 1.5; }
/* clear the old note styles the card still inherited */
.n-prd { border-left: 0; }
.n-prd header svg { position: static; overflow: visible; }
.n-prd header span { letter-spacing: 0; text-transform: none; font-family: var(--f-sans); }
.n-prd .n-lead { position: absolute; }
.n-prd .n-lead circle { fill: #fff; }
