/* ==========================================================
   cv.html and breakdown.html
   Built on the tokens of nodegraph.css (--tn-*, --c-*).
   "html:root" in front of the selectors beats the old template rules.
   ========================================================== */

html:root .rs-page {
	--t-deep:#5a63e6;
	--t-cg:#f29a1f;
	--t-key:#2fb85a;
	--t-prep:#35cfd9;
	float:left;
	width:100%;
	clear:both;
	padding:120px 0 70px;
	color:var(--tn-text);
	text-align:left;
	background-color:var(--tn-bg);
	background-image:radial-gradient(var(--tn-dot) 1px, transparent 1.4px);
	background-size:22px 22px;
}
html:root .rs-page .container { max-width:1180px; width:92%; clear:both; }
/* kept at low specificity on purpose: every component below sets its own margins */
.rs-page ul, .rs-page ol { list-style:none; margin:0; padding:0; }
html:root .rs-kicker { display:block; margin:0 0 10px; color:var(--tn-muted); font-family:"futurastd-bold", sans-serif; font-size:11px; letter-spacing:3px; text-transform:uppercase; }
html:root .rs-kicker b { color:var(--tn-select); font-weight:normal; }
html:root .rs-page h1.ng-h1 { color:var(--tn-text); text-align:left; font-size:46px; line-height:1.08; }
html:root .rs-lead { max-width:760px; margin:16px 0 0; padding:0; font-size:17px; line-height:1.7; color:var(--tn-text); }
html:root .rs-page h2 { margin:0; padding:0; color:var(--tn-text); font-size:34px; font-weight:300; line-height:1.15; text-align:left; }
html:root .rs-h2 { clear:both; width:100%; display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 16px; margin:76px 0 22px; padding-bottom:12px; border-bottom:1px solid var(--tn-line); }
html:root .rs-h2 span { color:var(--tn-muted); font-size:14px; }
html:root .rs-h2 h3 { margin:0; padding:0; color:var(--tn-text); font-size:28px; font-weight:300; line-height:1.15; letter-spacing:normal; text-align:left; text-transform:none; }
html:root .rs-h2 h3 i { margin-right:10px; color:var(--tn-select); font-size:0.8em; }
html:root .rs-h2 span a { color:var(--c-python); }

/* the CV as a section of the About page */
html:root .rs-page--in { padding:96px 0 84px; }
html:root .rs-page--in .container { max-width:1024px; }
html:root .rs-page--in > .container > h2 { font-size:3.2em; text-align:center; }
html:root .cv-intro { max-width:640px; margin:18px auto 0; padding:0; color:var(--tn-muted); font-size:15px; line-height:1.6; text-align:center; }
html:root .rs-actions--c { justify-content:center; margin-top:18px; }
html:root .rs-page--in .rs-h2:first-of-type { margin-top:56px; }
html:root .rs-h2 h2 i { margin-right:10px; color:var(--tn-select); font-size:0.8em; }

/* buttons: the dark-panel pills of nodegraph.css, made readable on the page background */
html:root .rs-actions { display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 0; }
html:root .rs-page a.ng-btn--line { background:transparent; color:var(--tn-text); box-shadow:inset 0 0 0 2px var(--tn-line); }
html:root .rs-page a.ng-btn--line:hover { color:var(--tn-text); box-shadow:inset 0 0 0 2px var(--tn-select); }
html:root .rs-page .ng-cta-box a.ng-btn--ghost { color:#fff; }

/* chips used as filters */
html:root .rs-chips { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 20px; }
html:root .rs-chips > span { margin-right:4px; color:var(--tn-muted); font-family:"futurastd-bold", sans-serif; font-size:10px; letter-spacing:2px; text-transform:uppercase; }
html:root .rs-chip { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border:1px solid var(--tn-line); border-radius:30px; background:var(--tn-card); color:var(--tn-text); font-family:inherit; font-size:14px; line-height:1; cursor:pointer; transition:border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
html:root .rs-chip:hover, html:root .rs-chip:focus-visible { border-color:var(--tn-select); outline:none; }
html:root .rs-chip[aria-pressed="true"] { border-color:var(--tn-select); box-shadow:0 0 0 2px var(--tn-select); }
html:root .rs-chip i.dot { width:10px; height:10px; border-radius:50%; background:var(--d, var(--tn-muted)); }
html:root .rs-chip small { color:var(--tn-muted); font-size:12px; }
html:root .rs-count { margin-left:auto; color:var(--tn-muted); font-size:13px; }

/* ==========================================================
   CV
   ========================================================== */
html:root .cv-hero { display:grid; grid-template-columns:230px minmax(0, 1fr); gap:38px; align-items:center; }
html:root .cv-photo { position:relative; }
html:root .cv-photo img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:16px; border:1px solid var(--tn-line); box-shadow:0 18px 40px -22px rgba(0,0,0,0.6); }
html:root .cv-photo:after { content:""; position:absolute; left:14px; right:14px; bottom:-8px; height:5px; border-radius:5px; background:linear-gradient(90deg, var(--c-color), var(--c-python), var(--c-gizmos), var(--c-3d), var(--tn-select)); }
html:root .cv-facts { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 0; }
html:root .cv-facts li { display:inline-flex; align-items:center; gap:8px; padding:7px 13px; border:1px solid var(--tn-line); border-radius:30px; background:var(--tn-card); font-size:14px; color:var(--tn-text); }
html:root .cv-facts li i { color:var(--tn-select); }

html:root .cv-jump { position:sticky; top:74px; z-index:5; display:flex; flex-wrap:wrap; gap:6px; margin:44px 0 0; padding:8px; border:1px solid var(--tn-line); border-radius:40px; background:var(--tn-card); box-shadow:0 10px 24px -18px rgba(0,0,0,0.5); }
html:root .cv-jump a { padding:8px 14px; border-radius:30px; color:var(--tn-text); font-size:13px; letter-spacing:1px; text-transform:uppercase; text-decoration:none; transition:background 150ms ease; }
html:root .cv-jump a:hover { background:var(--tn-bg); }
html:root .cv-jump a.cv-jump-pdf { margin-left:auto; background:var(--tn-select); color:#1d1704; font-family:"futurastd-bold", sans-serif; }

html:root .cv-timeline { position:relative; }
html:root .cv-timeline:before { content:""; position:absolute; left:43px; top:8px; bottom:8px; width:2px; background:var(--tn-line); }
html:root .cv-job { --c:var(--c-python); position:relative; display:grid; grid-template-columns:88px minmax(0, 1fr); gap:22px; margin:0 0 16px; }
html:root .cv-job.is-teach { --c:var(--c-gizmos); }
html:root .cv-job.is-edu { --c:var(--c-color); }
html:root .cv-job.is-now { --c:var(--tn-select); }
html:root .cv-job[hidden] { display:none; }
html:root .cv-when { position:relative; z-index:1; align-self:start; margin-top:10px; padding:8px 4px 7px; border:2px solid var(--c); border-radius:10px; background:var(--tn-card); text-align:center; line-height:1.1; }
html:root .cv-when:after { content:""; position:absolute; left:100%; top:50%; width:22px; height:2px; margin-left:2px; background:var(--c); }
html:root .cv-when b { display:block; color:var(--tn-muted); font-family:"futurastd-bold", sans-serif; font-size:10px; font-weight:normal; letter-spacing:2px; text-transform:uppercase; }
html:root .cv-when span { display:block; margin-top:3px; color:var(--tn-text); font-family:"futurastd-bold", sans-serif; font-size:17px; }
html:root .cv-job.is-now .cv-when { box-shadow:0 0 0 4px color-mix(in srgb, var(--tn-select) 30%, transparent); }
html:root .cv-node { padding:16px 20px 14px; border:1px solid var(--tn-line); border-left:5px solid var(--c); border-radius:12px; background:var(--tn-card); box-shadow:0 8px 22px -18px rgba(0,0,0,0.5); transition:border-color 150ms ease, box-shadow 150ms ease; }
html:root .cv-node:hover { box-shadow:0 0 0 2px var(--tn-select); }
html:root .cv-node .cv-head { display:flex; align-items:center; gap:16px; }
html:root .cv-node .cv-head > div { flex:1; min-width:0; }
html:root .cv-node h3 { margin:0; padding:0; color:var(--tn-text); font-family:"futurastd-bold", sans-serif; font-size:17px; font-weight:normal; letter-spacing:0.5px; line-height:1.3; text-align:left; text-transform:none; }
html:root .cv-node h3 small { margin-left:6px; padding:2px 8px; border-radius:20px; background:var(--tn-bg); color:var(--tn-muted); font-family:'FuturaPT-Book', sans-serif; font-size:11px; letter-spacing:1px; text-transform:uppercase; vertical-align:2px; }
html:root .cv-org { margin:4px 0 0; padding:0; color:var(--tn-muted); font-size:14px; line-height:1.5; }
html:root .cv-org b { color:var(--tn-text); }
html:root .cv-logo { flex:0 0 110px; width:110px; height:44px; padding:0; border-radius:8px; background:var(--lb, #fff); border:1px solid var(--tn-line); object-fit:contain; }
html:root .cv-note { margin:10px 0 0; padding:0; font-size:15px; line-height:1.6; }
html:root .cv-note a { color:var(--c-python); }
/* the projects of a job: indented on a branch of the node, titles in italics, so they never read like the job title */
html:root .cv-credits { --branch:color-mix(in srgb, var(--c) 55%, var(--tn-line)); margin:14px 0 2px 8px; padding-left:22px; border-left:2px solid var(--branch); }
html:root .cv-credits li { position:relative; display:grid; grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr) auto; gap:4px 14px; align-items:baseline; padding:6px 0; border-bottom:1px dashed var(--tn-line); font-size:15px; line-height:1.4; }
html:root .cv-credits li:before { content:""; position:absolute; left:-22px; top:17px; width:14px; height:2px; background:var(--branch); }
html:root .cv-credits li:last-child { border-bottom:0; }
html:root .cv-credits li[hidden] { display:none; }
html:root .cv-credits b { color:var(--tn-text); font-weight:normal; font-family:'FuturaPT-Book', sans-serif; font-style:italic; font-size:16.5px; }
html:root .cv-credits b i { margin-left:6px; color:var(--tn-muted); font-family:'FuturaPT-Book', sans-serif; font-style:normal; font-size:14px; }
html:root .cv-credits span { color:var(--tn-muted); }
html:root .cv-credits em { color:var(--tn-muted); font-size:11px; font-style:normal; letter-spacing:1.5px; text-transform:uppercase; text-align:right; white-space:nowrap; }
html:root .cv-credits em.is-key { color:var(--tn-select); }

html:root .cv-cols { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px; }
html:root .cv-cols--3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
html:root .cv-box { --c:var(--c-python); position:relative; padding:44px 20px 18px; border:1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius:12px; background:color-mix(in srgb, var(--c) 10%, var(--tn-card)); }
html:root .cv-box > h3 { position:absolute; left:0; right:0; top:0; margin:0; padding:8px 20px; border-radius:11px 11px 0 0; background:var(--c); color:#fff; font-family:"futurastd-bold", sans-serif; font-size:12px; font-weight:normal; letter-spacing:2px; text-transform:uppercase; text-align:left; }
html:root .cv-box li { position:relative; padding:5px 0 5px 18px; font-size:15px; line-height:1.45; color:var(--tn-text); }
html:root .cv-box li:before { content:""; position:absolute; left:2px; top:13px; width:7px; height:7px; border-radius:2px; background:var(--c); }
html:root .cv-box { text-align:left; }
html:root .cv-box ul { list-style:none; margin:0; padding:0; }
/* mentorship.html: what you can learn, the same boxes with longer notes */
html:root .rs-learn-lead { max-width:760px; margin:18px auto 34px; padding:0; color:var(--tn-text); font-size:16px; line-height:1.7; text-align:center; }
html:root .rs-learn-grid { clear:both; gap:22px; }
html:root .rs-learn .cv-box { padding:50px 24px 20px; }
html:root .rs-learn .cv-box > h3 { padding:10px 24px; font-size:13px; }
html:root .rs-learn .cv-box li { padding:7px 0 7px 20px; font-size:15.5px; line-height:1.6; color:var(--tn-text); }
html:root .rs-learn .cv-box li:before { top:17px; }
html:root .rs-learn .cv-box li b { font-family:"futurastd-bold", sans-serif; font-size:14px; font-weight:normal; letter-spacing:0.3px; }
html:root .rs-learn .cv-box li a { color:var(--c-python); text-decoration:underline; }
html:root .cv-soft { display:flex; flex-wrap:wrap; gap:10px; }
html:root .cv-box .cv-soft li { padding:10px 6px 8px; }
html:root .cv-box .cv-soft li:before { display:none; }
html:root .rs-h2 { scroll-margin-top:150px; }
html:root .cv-soft li { display:flex; flex-direction:column; align-items:center; gap:6px; width:92px; padding:10px 6px 8px; border:1px solid var(--tn-line); border-radius:9px; background:var(--tn-card); font-size:12px; line-height:1.2; text-align:center; color:var(--tn-text); transition:border-color 150ms ease, box-shadow 150ms ease; }
html:root .cv-soft li:hover { border-color:var(--tn-select); box-shadow:0 0 0 2px var(--tn-select); }
html:root .cv-soft img { display:block; width:42px; height:42px; border-radius:6px; background:#fff; object-fit:contain; }
html:root .cv-pubs { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:18px; }
html:root .cv-pubs .cv-pub { position:relative; display:block; height:100%; padding:24px 18px 20px; border:1px solid var(--tn-line); border-radius:12px; background:var(--tn-card); text-align:center; text-decoration:none; overflow:hidden; transition:transform 200ms ease, box-shadow 200ms ease; }
html:root .cv-pubs .cv-pub:before { content:""; position:absolute; left:0; right:0; top:0; height:5px; background:var(--c); }
html:root .cv-pubs a.cv-pub:hover { transform:translateY(-3px); box-shadow:0 12px 26px -16px rgba(0,0,0,0.6); }
html:root .cv-pubs b { display:block; color:var(--tn-text); font-size:46px; font-weight:300; line-height:1; }
html:root .cv-pubs small { display:block; margin-top:8px; color:var(--tn-muted); font-size:14px; line-height:1.35; }
html:root .cv-pubs em { display:block; margin-top:8px; color:var(--c-python); font-size:13px; font-style:normal; }
html:root .cv-stats { margin-top:44px; }
html:root .cv-stats .ng-stats { margin-top:0; }
html:root .cv-end { margin-top:70px; }

/* ==========================================================
   BREAKDOWN
   ========================================================== */
/* --- the Viewer: reel, properties of the shot on screen, dope sheet, filmstrip --- */
html:root .bd-viewer { margin:34px 0 0; border:1px solid #3a3b40; border-radius:14px; background:var(--tn-panel); color:#d9d9dc; overflow:hidden; box-shadow:0 26px 54px -30px rgba(0,0,0,0.85); }
html:root .bd-bar { display:flex; align-items:center; gap:14px; padding:10px 16px; border-bottom:1px solid #3a3b40; color:#c9cacf; font-size:13px; }
html:root .bd-bar-name { color:var(--tn-select); font-family:"futurastd-bold", sans-serif; font-size:10px; letter-spacing:2px; text-transform:uppercase; }
html:root .bd-bar-title { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
html:root .bd-bar-tc { color:#fff; font-family:Consolas, Menlo, monospace; font-size:13px; }
html:root .bd-bar-tc small { color:#8f9096; font-size:12px; }
html:root .bd-stage { display:grid; grid-template-columns:minmax(0, 1fr) 330px; }
html:root .bd-player { position:relative; aspect-ratio:16 / 9; background:#000; }
html:root .bd-player iframe { position:absolute; left:0; top:0; width:100%; height:100%; border:0; }
html:root .bd-now { position:relative; display:flex; flex-direction:column; gap:12px; padding:16px 18px; border-left:1px solid #3a3b40; background:#232428; overflow:auto; max-height:100%; }
html:root .bd-now-k { display:flex; align-items:center; justify-content:space-between; color:#8f9096; font-family:"futurastd-bold", sans-serif; font-size:10px; letter-spacing:2px; text-transform:uppercase; }
html:root .bd-now-k b { color:var(--tn-select); font-weight:normal; }
html:root .bd-now-film { display:flex; align-items:center; min-height:54px; }
html:root .bd-now-film .bd-film { width:100%; }
html:root .bd-now .bd-now-film img { height:56px; max-width:82%; }
html:root .bd-now-film .bd-film-txt { color:#fff; font-size:19px; }
html:root .bd-now-row { display:flex; align-items:center; gap:10px; color:#c9cacf; font-size:14px; }
html:root .bd-now .bd-feat li { color:#c9cacf; font-size:14px; }
html:root .bd-now .bd-tech li { background:#2f3036; border-color:#3f4047; color:#d9d9dc; }
html:root .bd-now-more { margin-top:auto; color:var(--tn-select); font-size:13px; text-decoration:none; }
html:root .bd-now-more:hover { text-decoration:underline; }
html:root .bd-now-idle { margin:auto 0; padding:0; color:#a5a6ac; font-size:15px; line-height:1.6; }
html:root .bd-now-idle b { color:#fff; }
html:root .bd-now.is-swap > * { animation:bdIn 320ms ease both; }
@keyframes bdIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

html:root .bd-sheet { padding:14px 16px 6px; border-top:1px solid #3a3b40; }
html:root .bd-track { position:relative; height:34px; border-radius:6px; background:#1b1c1f; cursor:pointer; }
html:root .bd-seg { position:absolute; top:0; bottom:0; padding:0; border:0; border-right:1px solid var(--tn-panel); border-radius:2px; background:var(--sc, #555); opacity:0.72; cursor:pointer; transition:opacity 120ms ease, transform 120ms ease; }
html:root .bd-seg:hover, html:root .bd-seg:focus-visible { opacity:1; transform:scaleY(1.18); outline:none; z-index:2; }
html:root .bd-seg.is-on { opacity:1; box-shadow:inset 0 0 0 2px #fff; z-index:2; }
html:root .bd-seg.is-dim { opacity:0.14; }
html:root .bd-head { position:absolute; top:-5px; bottom:-5px; left:0; width:2px; margin-left:-1px; background:#fff; pointer-events:none; z-index:3; }
html:root .bd-head:before { content:""; position:absolute; left:-5px; top:-2px; border:6px solid transparent; border-top-color:#fff; }
html:root .bd-tip { position:absolute; bottom:calc(100% + 12px); left:0; z-index:5; padding:6px 10px; border-radius:6px; background:#000; color:#fff; font-size:12px; white-space:nowrap; pointer-events:none; opacity:0; transform:translateX(-50%); transition:opacity 120ms ease; }
html:root .bd-tip.is-on { opacity:1; }
html:root .bd-ruler { position:relative; height:20px; margin-top:6px; color:#8f9096; font-family:Consolas, Menlo, monospace; font-size:11px; }
html:root .bd-ruler span { position:absolute; top:0; transform:translateX(-50%); }
html:root .bd-ruler span:first-child { transform:none; }
html:root .bd-ruler span:last-child { transform:translateX(-100%); }
html:root .bd-legend { display:flex; flex-wrap:wrap; gap:6px 16px; padding:4px 16px 12px; color:#a5a6ac; font-size:12px; }
html:root .bd-legend li { display:inline-flex; align-items:center; gap:6px; }
html:root .bd-legend i { width:10px; height:10px; border-radius:2px; background:var(--sc); }

html:root .bd-strip { display:flex; gap:8px; padding:12px 16px; border-top:1px solid #3a3b40; background:#1b1c1f; overflow-x:auto; scroll-behavior:smooth; scrollbar-width:thin; scrollbar-color:#4a4b52 transparent; }
html:root .bd-frame { position:relative; flex:0 0 132px; padding:0; border:2px solid transparent; border-radius:6px; background:#000; overflow:hidden; opacity:0.5; cursor:pointer; transition:opacity 150ms ease, border-color 150ms ease; }
html:root .bd-frame img { display:block; width:100%; height:auto; aspect-ratio:2.37; object-fit:cover; }
html:root .bd-frame span { position:absolute; left:6px; bottom:4px; color:#fff; font-family:Consolas, Menlo, monospace; font-size:11px; text-shadow:0 1px 3px #000; }
html:root .bd-frame:hover, html:root .bd-frame:focus-visible { opacity:1; outline:none; }
html:root .bd-frame.is-on { opacity:1; border-color:var(--tn-select); }
html:root .bd-frame.is-dim { opacity:0.16; }
html:root .bd-keys { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; padding:10px 16px 12px; border-top:1px solid #3a3b40; color:#8f9096; font-size:12px; }
html:root .bd-keys kbd { display:inline-block; min-width:22px; padding:2px 6px; border:1px solid #4a4b52; border-radius:4px; background:#2f3036; color:#d9d9dc; font-family:Consolas, Menlo, monospace; font-size:11px; text-align:center; }
html:root .bd-keys label { display:inline-flex; align-items:center; gap:6px; margin-left:auto; color:#c9cacf; cursor:pointer; }
html:root .bd-keys input { accent-color:var(--tn-select); }

/* --- the reel in numbers --- */
html:root .bd-facts { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; margin:22px 0 0; }
html:root .bd-facts > li { padding:18px 16px 14px; border:1px solid var(--tn-line); border-radius:12px; background:var(--tn-card); }
html:root .bd-facts b { display:block; color:var(--tn-text); font-size:38px; font-weight:300; line-height:1; }
html:root .bd-facts span { display:block; margin-top:6px; color:var(--tn-muted); font-size:13px; line-height:1.3; }
html:root .bd-facts a { color:var(--c-python); text-decoration:none; }
html:root .bd-facts a:hover { text-decoration:underline; }

/* --- wall of productions: the filter --- */
html:root .bd-wall { display:grid; grid-template-columns:repeat(auto-fill, minmax(168px, 1fr)); gap:10px; margin:0 0 18px; }
html:root .bd-tile { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; height:96px; padding:10px 12px 8px; border:2px solid transparent; border-radius:10px; background:#15161a; color:#fff; font-family:inherit; overflow:hidden; cursor:pointer; transition:border-color 150ms ease, transform 150ms ease; }
html:root .bd-tile > img.bd-tile-bg { position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; opacity:0.34; transition:opacity 200ms ease, transform 500ms ease; }
html:root .bd-tile:after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--sc); }
html:root .bd-tile > * { position:relative; }
html:root .bd-tile .bd-film { max-height:44px; }
html:root .bd-tile .bd-film img { height:42px; max-width:132px; object-position:center; }
html:root .bd-tile .bd-film-txt { font-size:13px; }
html:root .bd-tile small { color:#c9cacf; font-size:11px; letter-spacing:1px; text-transform:uppercase; }
html:root .bd-tile:hover, html:root .bd-tile:focus-visible { border-color:var(--tn-select); outline:none; }
html:root .bd-tile:hover > img.bd-tile-bg { opacity:0.55; transform:scale(1.06); }
html:root .bd-tile[aria-pressed="true"] { border-color:var(--tn-select); }
html:root .bd-tile[aria-pressed="true"] > img.bd-tile-bg { opacity:0.6; }
html:root .bd-wall.has-pick .bd-tile[aria-pressed="false"] { opacity:0.5; }

/* film title treatment: a logo made white, or the title set in type */
html:root .bd-film { display:flex; align-items:center; }
html:root .bd-film img { display:block; width:auto; height:40px; max-width:100%; object-fit:contain; object-position:left center; }
html:root .bd-film img.is-mono { filter:brightness(0) invert(1); }
html:root .bd-film-txt { color:#fff; font-family:"futurastd-bold", sans-serif; letter-spacing:2px; line-height:1.2; text-transform:uppercase; text-align:left; }
html:root .bd-tile .bd-film-txt { text-align:center; }
/* studio logo tile: every logo file is 5:2 */
html:root .bd-studio { display:inline-flex; align-items:center; justify-content:center; width:74px; height:30px; border-radius:5px; background:var(--lb, #fff); overflow:hidden; flex:0 0 auto; }
html:root .bd-studio img { display:block; width:100%; height:100%; object-fit:contain; }

/* --- shot cards, drawn like nodes --- */
html:root .bd-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(330px, 1fr)); gap:20px; }
html:root .bd-card { position:relative; display:flex; flex-direction:column; border:1px solid var(--tn-line); border-radius:12px; background:var(--tn-card); overflow:hidden; scroll-margin-top:100px; transition:box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease; }
html:root .bd-card[hidden] { display:none; }
html:root .bd-card:hover { border-color:var(--tn-select); }
html:root .bd-card.is-live { border-color:var(--tn-select); box-shadow:0 0 0 3px var(--tn-select); }
html:root .bd-card:target { box-shadow:0 0 0 3px var(--tn-select); }
html:root .bd-media { position:relative; background:#000; overflow:hidden; }
html:root .bd-media > img.bd-still { display:block; width:100%; height:auto; aspect-ratio:2.37; object-fit:cover; transition:transform 600ms ease; }
html:root .bd-card:hover .bd-media > img.bd-still { transform:scale(1.04); }
html:root .bd-media:after { content:""; position:absolute; left:0; right:0; bottom:0; height:62%; background:linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0)); pointer-events:none; }
html:root .bd-num { position:absolute; left:10px; top:10px; z-index:3; padding:4px 9px 3px; border-radius:5px; background:var(--sc); color:#fff; font-family:"futurastd-bold", sans-serif; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; text-shadow:0 1px 2px rgba(0,0,0,0.35); }
html:root .bd-media .bd-studio { position:absolute; right:10px; top:10px; z-index:3; box-shadow:0 2px 8px rgba(0,0,0,0.5); }
html:root .bd-media .bd-film { position:absolute; left:14px; bottom:11px; z-index:3; max-width:58%; pointer-events:none; }
html:root .bd-media .bd-film { width:58%; }
html:root .bd-media .bd-film img { height:38px; object-position:left bottom; }
html:root .bd-media .bd-film-txt { font-size:14px; text-shadow:0 1px 6px rgba(0,0,0,0.7); }
html:root .bd-live { position:absolute; right:12px; bottom:12px; z-index:3; display:none; align-items:center; gap:6px; padding:4px 9px; border-radius:20px; background:var(--tn-select); color:#1d1704; font-family:"futurastd-bold", sans-serif; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; }
html:root .bd-live:before { content:""; width:7px; height:7px; border-radius:50%; background:#1d1704; animation:bdPulse 1s ease-in-out infinite; }
html:root .bd-card.is-live .bd-live { display:inline-flex; }
@keyframes bdPulse { 50% { opacity:0.25; } }

/* wipe: plate under, comp on top, clipped at --w */
html:root .bd-wipe { position:relative; display:block; cursor:ew-resize; touch-action:pan-y; user-select:none; }
html:root .bd-wipe img { display:block; width:100%; height:auto; pointer-events:none; }
html:root .bd-wipe img.bd-wipe-b { position:absolute; left:0; top:0; height:100%; object-fit:cover; clip-path:inset(0 0 0 var(--w, 50%)); }
html:root .bd-wipe-line { position:absolute; top:0; bottom:0; left:var(--w, 50%); z-index:2; width:2px; margin-left:-1px; background:var(--tn-select); pointer-events:none; }
html:root .bd-wipe-line:before { content:"\f07e"; font-family:FontAwesome; position:absolute; left:50%; top:50%; width:30px; height:30px; margin:-15px 0 0 -15px; border-radius:50%; background:var(--tn-select); color:#1d1704; font-size:13px; line-height:30px; text-align:center; }
html:root .bd-wipe-tag { position:absolute; top:44px; z-index:2; padding:3px 7px; border-radius:4px; background:rgba(0,0,0,0.6); color:#fff; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; pointer-events:none; }
html:root .bd-wipe-tag.is-a { left:10px; }
html:root .bd-wipe-tag.is-b { right:10px; }
html:root .bd-media.has-wipe:after { height:38%; }

html:root .bd-body { display:flex; flex-direction:column; flex:1; gap:10px; padding:14px 16px 14px; }
html:root .bd-body h3 { margin:0; padding:0; color:var(--tn-text); font-family:"futurastd-bold", sans-serif; font-size:16px; font-weight:normal; letter-spacing:0.5px; line-height:1.3; text-align:left; text-transform:none; }
html:root .bd-meta { margin:2px 0 0; padding:0; color:var(--tn-muted); font-size:14px; line-height:1.4; }
html:root .bd-meta b { color:var(--tn-text); }
html:root .bd-tech { display:flex; flex-wrap:wrap; gap:6px; }
html:root .bd-tech li { display:inline-flex; align-items:center; gap:6px; padding:3px 9px 3px 7px; border:1px solid var(--tn-line); border-radius:20px; background:var(--tn-bg); color:var(--tn-text); font-size:12px; line-height:1.3; }
html:root .bd-tech li:before { content:""; width:9px; height:9px; border-radius:2px; background:var(--d); }
html:root .t-deep { --d:var(--t-deep); }
html:root .t-cg { --d:var(--t-cg); }
html:root .t-key { --d:var(--t-key); }
html:root .t-prep { --d:var(--t-prep); }
html:root .bd-feat li { position:relative; padding:3px 0 3px 15px; color:var(--tn-text); font-size:14.5px; line-height:1.45; }
html:root .bd-feat li:before { content:""; position:absolute; left:1px; top:11px; width:6px; height:6px; border-radius:50%; background:var(--sc, var(--tn-muted)); }
html:root .bd-hard { border:1px dashed var(--tn-line); border-radius:9px; background:var(--tn-bg); }
html:root .bd-hard summary { display:flex; align-items:center; gap:8px; padding:8px 12px; color:var(--tn-text); font-family:"futurastd-bold", sans-serif; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; cursor:pointer; list-style:none; }
html:root .bd-hard summary::-webkit-details-marker { display:none; }
html:root .bd-hard summary i { color:var(--tn-select); }
html:root .bd-hard summary:after { content:"+"; margin-left:auto; color:var(--tn-muted); font-size:16px; line-height:1; }
html:root .bd-hard[open] summary:after { content:"\2212"; }
html:root .bd-hard ul { padding:0 12px 10px; }
html:root .bd-hard li { position:relative; padding:4px 0 4px 15px; color:var(--tn-text); font-size:14px; line-height:1.45; }
html:root .bd-hard li:before { content:""; position:absolute; left:0; top:11px; width:7px; height:2px; background:var(--tn-select); }
html:root .bd-link { display:inline-flex; align-items:center; gap:7px; color:var(--c-python); font-size:14px; text-decoration:none; }
html:root .bd-link:hover { text-decoration:underline; }
html:root .bd-tcs { display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:4px; }
html:root .bd-tcs button { display:inline-flex; align-items:center; gap:7px; padding:6px 11px; border:1px solid var(--tn-line); border-radius:20px; background:transparent; color:var(--tn-text); font-family:Consolas, Menlo, monospace; font-size:12px; cursor:pointer; transition:background 150ms ease, border-color 150ms ease, color 150ms ease; }
html:root .bd-tcs button i { font-size:9px; color:var(--tn-select); }
html:root .bd-tcs button:hover, html:root .bd-tcs button:focus-visible { border-color:var(--tn-select); background:var(--tn-select); color:#1d1704; outline:none; }
html:root .bd-tcs button:hover i, html:root .bd-tcs button:focus-visible i { color:#1d1704; }
html:root .bd-tcs span { align-self:center; color:var(--tn-muted); font-size:12px; }
html:root .bd-empty { margin:10px 0 0; padding:24px; border:1px dashed var(--tn-line); border-radius:12px; color:var(--tn-muted); font-size:15px; text-align:center; }
html:root .bd-empty[hidden] { display:none; }

/* mentorship and "more" cards */
html:root .bd-row { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:18px; }
html:root .bd-row--3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
html:root .bd-mini { display:flex; flex-direction:column; border:1px solid var(--tn-line); border-radius:12px; background:var(--tn-card); overflow:hidden; text-decoration:none; transition:transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
html:root .bd-mini:hover { transform:translateY(-3px); border-color:var(--tn-select); box-shadow:0 14px 28px -18px rgba(0,0,0,0.6); }
html:root .bd-mini img { display:block; width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; background:#000; }
html:root .bd-mini--wide img { aspect-ratio:16 / 9; }
html:root .bd-mini div { padding:13px 15px 14px; }
html:root .bd-mini b { display:block; color:var(--tn-text); font-family:"futurastd-bold", sans-serif; font-size:14px; font-weight:normal; letter-spacing:0.5px; }
html:root .bd-mini span { display:block; margin-top:4px; color:var(--tn-muted); font-size:13.5px; line-height:1.4; }
html:root .bd-mini em { display:inline-block; margin-top:8px; color:var(--c-python); font-size:13px; font-style:normal; }
html:root .rs-credit { margin:36px 0 0; padding:0; color:var(--tn-muted); font-size:12.5px; line-height:1.6; }
html:root .rs-credit a { color:inherit; text-decoration:underline; }

/* ==========================================================
   responsive
   ========================================================== */
@media (max-width: 1060px) {
	html:root .bd-stage { grid-template-columns:minmax(0, 1fr); }
	html:root .bd-now { border-left:0; border-top:1px solid #3a3b40; max-height:none; }
	html:root .bd-row { grid-template-columns:repeat(2, minmax(0, 1fr)); }
	html:root .cv-pubs { grid-template-columns:repeat(2, minmax(0, 1fr)); }
	html:root .cv-cols--3 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	html:root .rs-page { padding:100px 0 50px; }
	html:root .rs-page h1.ng-h1 { font-size:34px; }
	html:root .rs-page h2 { font-size:27px; }
	html:root .rs-h2 { margin-top:56px; }
	html:root .cv-hero { grid-template-columns:minmax(0, 1fr); gap:26px; }
	html:root .cv-photo { max-width:170px; }
	html:root .cv-jump { position:static; border-radius:14px; }
	html:root .cv-jump a.cv-jump-pdf { margin-left:0; }
	html:root .cv-timeline:before { left:9px; }
	html:root .cv-job { grid-template-columns:minmax(0, 1fr); gap:8px; padding-left:28px; }
	html:root .cv-when { justify-self:start; display:flex; gap:6px; align-items:baseline; margin:0; padding:4px 10px; }
	html:root .cv-when:after { left:auto; right:100%; top:50%; width:18px; margin:0 2px 0 0; }
	html:root .cv-when span { margin:0; font-size:13px; }
	html:root .cv-node .cv-head { flex-wrap:wrap; }
	html:root .cv-logo { order:-1; flex-basis:96px; width:96px; height:38px; }
	html:root .cv-node .cv-head > div { flex-basis:100%; }
	html:root .cv-credits li { grid-template-columns:minmax(0, 1fr) auto; }
	html:root .cv-credits span { grid-column:1 / -1; grid-row:2; font-size:13.5px; }
	html:root .cv-cols, html:root .cv-cols--3 { grid-template-columns:minmax(0, 1fr); }
	html:root .bd-grid { grid-template-columns:minmax(0, 1fr); }
	html:root .bd-facts { grid-template-columns:repeat(2, minmax(0, 1fr)); }
	html:root .bd-wall { grid-template-columns:repeat(2, minmax(0, 1fr)); }
	html:root .bd-row, html:root .bd-row--3 { grid-template-columns:minmax(0, 1fr); }
	html:root .bd-keys span.bd-keys-kb { display:none; }
	html:root .bd-keys label { margin-left:0; }
	html:root .bd-frame { flex-basis:104px; }
	html:root .bd-ruler span:nth-child(6) { display:none; }
}
@media (prefers-reduced-motion: reduce) {
	html:root .bd-now.is-swap > *, html:root .bd-live:before { animation:none; }
	html:root .bd-strip { scroll-behavior:auto; }
}
@media print {
	header, footer, .left-decor, .right-decor, .fixed-title, .cv-jump, .rs-actions, .ng-cta-band, .loader { display:none !important; }
	html:root .rs-page { padding:0; background:#fff; }
	html:root .cv-node { box-shadow:none; break-inside:avoid; }
}
