/* F: statement + evidence. Loaded after artifacts.css and overrides it. */

/* ── the shared sheet structure ── */
.stmt { position: absolute; left: 56px; top: 52px; width: 330px; }
.chapter { display: flex; align-items: center; gap: 12px; font: 600 10.5px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.chapter b { color: var(--hot); font-weight: 600; }
.chapter::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.stmt h2 { margin: 26px 0 0; font: 700 42px/1.02 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.stmt h2 em { font-style: normal; color: var(--hot); }
.stmt > h2:first-child { margin-top: 0; }
.stmt .sub { margin: 18px 0 0; font: 15px/1.55 var(--f-serif); color: var(--ink-2); text-wrap: pretty; }
.evidence { position: absolute; left: 424px; top: 52px; width: 800px; height: 696px; }
.next-rule { position: absolute; left: 56px; width: 330px; top: 736px; display: flex; gap: 10px; align-items: center; font: 9.5px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.next-rule::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 1px; background: var(--rule); }
.next-rule b { color: var(--hot); font-weight: 400; }
.art .fid { left: auto; right: 56px; bottom: 26px; }
.draft { display: inline-block; margin-left: 8px; vertical-align: 3px; font: 600 8.5px var(--f-mono); letter-spacing: .14em; color: var(--hot); border: 1px solid color-mix(in srgb, var(--hot) 45%, transparent); padding: 2px 5px; border-radius: 3px; }

/* ── cover: the photo is a layer on the canvas ── */
.photo-layer { position: absolute; left: 642px; top: 110px; width: 250px; height: 320px; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(0,0,0,.9); }
.photo-layer img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.05); }
.photo-layer span { position: absolute; left: 10px; bottom: 10px; font: 9px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; background: rgba(22,19,15,.75); color: #f4eee2; padding: 3px 6px; border-radius: 3px; }
@keyframes sel {
  0%, 22% { left: 288px; top: 142px; width: 456px; height: 164px; }
  26%, 47% { left: 834px; top: 102px; width: 266px; height: 336px; }
  51%, 72% { left: 288px; top: 324px; width: 486px; height: 244px; }
  76%, 100% { left: 288px; top: 618px; width: 158px; height: 56px; }
}
@keyframes cur {
  0% { transform: translate(982px, 620px); } 10%, 22% { transform: translate(740px, 302px); }
  34%, 47% { transform: translate(1094px, 434px); }
  60%, 72% { transform: translate(770px, 564px); }
  84% { transform: translate(392px, 648px); } 86% { transform: translate(392px, 648px) scale(.86); } 89%, 100% { transform: translate(392px, 648px); }
}
@keyframes press { 0%, 85% { transform: none; } 86% { transform: scale(.96); } 89%, 100% { transform: none; } }
.live .layer-row:nth-child(2) { animation: lr2 8s infinite; }
.live .layer-row:nth-child(3) { animation: lr2 8s infinite 2s; }
.live .layer-row:nth-child(4) { animation: lr2 8s infinite 4s; }
.live .layer-row:nth-child(5) { animation: lr2 8s infinite 6s; }
@keyframes lr2 { 0%, 22% { background: color-mix(in srgb, var(--hot) 16%, transparent); color: var(--ink); } 25%, 100% { background: transparent; } }

/* ── work: the app, narrower ── */
.evidence .app { left: 0; top: 0; width: 800px; height: 680px; }
.evidence .app-body { grid-template-columns: 214px 1fr; }
.evidence .side { padding: 12px 10px; }
.evidence .side button { padding: 8px; gap: 10px; }
.evidence .side .mark { width: 30px; height: 30px; }
.evidence .side b { font-size: 13px; }
.evidence .side small { font-size: 10.5px; }
.evidence .main { padding: 18px 22px; }
.evidence .main-head .mark { width: 42px; height: 42px; }
.evidence .main-head h3 { font-size: 19px; }
.evidence .main-head .pills { display: none; }
.evidence .meta { margin: 10px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.evidence .kpis { margin: 14px 0 10px; gap: 10px; }
.evidence .kpi { padding: 10px 12px; }
.evidence .kpi b { font-size: 24px; }
.evidence .wins li { font-size: 12.5px; padding: 6px 0; }

/* ── education: the sketch, stacked into the evidence box ── */
.evidence .graph { inset: 0; border-radius: 4px; }

/* ── skills: detail under the name ── */
.evidence .comp { top: 14px; width: 250px; padding: 14px 12px; }
.evidence .chip { display: block; padding: 5px 9px; margin-top: 4px; }
.evidence .chip b { display: block; font-size: 12px; }
.evidence .chip span { display: block; text-align: left; font-size: 10px; margin-top: 1px; }
.stmt .tokens { position: static; margin-top: 22px; flex-wrap: wrap; gap: 6px; }
.stmt .token span { font-size: 9.5px; }

.orbit circle.dash { fill: none; stroke: var(--hair); stroke-width: 1; stroke-dasharray: 5 6; transform-origin: 310px 310px; }
.live .orbit circle.dash { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit .runner { fill: #ff7a33; }
.node { position: absolute; width: 150px; transform: translate(-50%, -50%); text-align: center; cursor: pointer; }
.node i { display: block; width: 12px; height: 12px; margin: 0 auto 8px; background: var(--ground); border: 1.5px solid var(--ink); transition: all .3s; }
.node b { display: block; font: 600 9.5px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
.node small { display: block; margin-top: 3px; font: 11.5px/1.3 var(--f-sans); color: var(--ink-3); }
.node.on i { background: #ff7a33; border-color: #ff7a33; transform: scale(1.3); }
.node.on b { color: var(--hot); }
.core { position: absolute; left: 225px; top: 238px; width: 310px; border: 1px solid var(--rule); background: var(--ground); }
.core header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f4eee2; color: #16130f; }
.core header b { font: 700 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.core header span { margin-left: auto; font: 9px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.core .body { padding: 14px 16px 16px; min-height: 150px; }
.core .body p { margin: 0; font: 13px/1.55 var(--f-sans); color: var(--ink-2); }
.core .body .k { font: 9px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.core .swap-in { animation: swap .45s cubic-bezier(.2,.7,.2,1); }
.laps { position: absolute; right: 0; top: 150px; width: 96px; }
.laps div { height: 64px; margin-bottom: 10px; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 700 18px var(--f-display); position: relative; }
.laps div span { position: absolute; left: calc(100% + 8px); font: 9px var(--f-mono); letter-spacing: .14em; color: var(--ink-3); white-space: nowrap; }
.laps .tag { margin-bottom: 12px; }

/* ── ideas: a row of phones, one pitch at a time ── */
.evidence .phones { position: absolute; left: 0; right: 0; top: 40px; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.evidence .phone { height: 290px; border-radius: 22px; }
.evidence .lo .h { font-size: 19px; }
.evidence .hi .card { font-size: 10px; }
.pitch { position: absolute; left: 0; right: 0; top: 380px; padding-top: 22px; border-top: 1px solid var(--rule); }
.pitch .tag b { color: var(--hot); font-weight: 400; }
.pitch h3 { margin: 10px 0 0; font: 700 30px/1 var(--f-display); letter-spacing: -.02em; }
.pitch p { margin: 14px 0 0; max-width: 62ch; font: 17px/1.55 var(--f-serif); color: var(--ink-2); }
.pips { display: flex; gap: 6px; margin-top: 22px; }
.pips i { width: 26px; height: 3px; background: var(--hair); }
.pips i.on { background: var(--hot); }

/* ── off the clock ── */
.evidence .big-phone { left: 0; top: 0; width: 300px; height: 620px; }
.evidence .rail { left: 340px; top: 0; right: -56px; height: 230px; }
.evidence .fcard { width: 220px; }
.evidence .rail.two { top: 250px; }
.live .rail.two .rail-track { animation-direction: reverse; animation-duration: 50s; }

/* ── contact ── */
.evidence .compose { left: 240px; top: 96px; width: 560px; }
.stmt .socials2 { position: static; width: auto; margin-top: 28px; }
/* where he's based, as a pill just above the headline */
.stmt .loc { display: inline-flex; align-items: center; gap: 8px; height: 28px; margin-bottom: 18px; padding: 0 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); font: 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.stmt .loc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); }
/* wide enough for the headline on one line and the links on one row */
body:not(.m) .art[data-id="contact"] .stmt { width: 520px; }
.stmt .avail { margin: 18px 0 0; font: 15px/1.55 var(--f-serif); color: var(--ink-2); }

/* ── icons ── */
.si { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; background: var(--c); -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.pic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.evidence .chip { display: flex; gap: 10px; align-items: center; padding: 8px 10px; margin-top: 6px; }
.evidence .chip .pic { color: var(--hot); }
.toolbox { position: absolute; left: 0; right: 0; top: 440px; }
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.tool-tile { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 10px; background: #fbf8f2; border: 1px solid var(--hair); font: 500 12.5px var(--f-sans); }
.tool-tile .si { width: 22px; height: 22px; }
.node i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 10px; color: var(--ink); }
.node i .pic { width: 18px; height: 18px; }
.node.on i { color: #16130f; transform: scale(1.12); }
.node small { max-width: 150px; margin: 3px auto 0; }
.app-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #ff7a33; color: #16130f; margin-bottom: 4px; }
.app-ico .pic { width: 17px; height: 17px; }
.lo-ico { background: none; border: 1.5px solid var(--ink-3); color: var(--ink-3); border-radius: 8px; margin-bottom: 8px; filter: url(#rough); }
.app-ico.big { width: 40px; height: 40px; border-radius: 11px; margin: 0 14px 0 0; vertical-align: -6px; }
.app-ico.big .pic { width: 22px; height: 22px; }
.tile .pic { width: 20px; height: 20px; margin-bottom: 8px; display: block; }
.pic-tile { color: var(--ink-2); }

.evidence .chip { justify-content: flex-start; }
.evidence .chip div { text-align: left; }
.evidence .rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent); }

/* ── skills: VS Code ── */
.vsc { position: absolute; inset: 0 0 16px 0; border-radius: 12px; overflow: hidden; background: #1c1814; color: #e9e2d4; display: grid; grid-template-rows: 34px 1fr 24px; box-shadow: 0 30px 60px -32px rgba(23,20,15,.7), 0 0 0 1px rgba(23,20,15,.25); font-family: var(--f-mono); }
.vsc-title { display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #15120e; font-size: 11px; color: rgba(233,226,212,.55); }
.vsc-title i { width: 11px; height: 11px; border-radius: 50%; background: #3a332b; }
.vsc-title span { margin: 0 auto; transform: translateX(-24px); }
.vsc-body { display: grid; grid-template-columns: 44px 168px 1fr; min-height: 0; }
.vsc-act { background: #15120e; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 14px; }
.vsc-act span { color: rgba(233,226,212,.35); } .vsc-act span.on { color: #e9e2d4; box-shadow: -12px 0 0 -10px #ff7a33; }
.vsc-tree { background: #191511; border-right: 1px solid rgba(233,226,212,.06); padding: 10px 0; font-size: 11.5px; }
.vsc-h { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(233,226,212,.45); padding: 0 14px 10px; }
.vsc-h u { text-decoration: none; color: #e9e2d4; border-bottom: 1px solid #ff7a33; padding-bottom: 3px; margin-right: 14px; }
.vsc-root { padding: 3px 14px; font-weight: 600; font-size: 10.5px; }
.vsc-file { display: flex; gap: 7px; align-items: center; padding: 4px 14px 4px 26px; color: rgba(233,226,212,.72); }
.vsc-file b { font-size: 8.5px; width: 16px; text-align: center; font-weight: 700; }
.vsc-file.ts b { color: #6fa8dc; } .vsc-file.md b { color: #e9c98a; } .vsc-file.json b { color: #e9c98a; } .vsc-file.dir b { color: rgba(233,226,212,.5); }
.vsc-file.on { background: rgba(255,122,51,.12); color: #fff; }
.vsc-main { display: grid; grid-template-rows: 34px 1fr 128px; min-width: 0; }
.vsc-tabs { display: flex; background: #15120e; font-size: 11.5px; }
.vsc-tabs span { display: flex; gap: 7px; align-items: center; padding: 0 16px; color: rgba(233,226,212,.5); border-right: 1px solid rgba(233,226,212,.05); }
.vsc-tabs span.on { background: #1c1814; color: #e9e2d4; box-shadow: inset 0 1px 0 #ff7a33; }
.vsc-tabs b { font-size: 8.5px; color: #6fa8dc; }
.vsc-code { padding: 10px 0; font-size: 12px; line-height: 18.5px; overflow: hidden; }
.ln { display: grid; grid-template-columns: 38px 22px 1fr; align-items: center; white-space: pre; }
.ln em { font-style: normal; text-align: right; padding-right: 10px; color: rgba(233,226,212,.25); }
.ln i { display: grid; place-items: center; }
.ln i .si, .ln i .pic { width: 13px; height: 13px; }
.ln i .pic { color: #ff7a33; }
.vsc .k { color: #ff7a33; } .vsc .v { color: #9fc2d6; } .vsc .s { color: #e9c98a; } .vsc .c { color: rgba(233,226,212,.42); } .vsc .pr { color: #9fc2d6; } .vsc .ok { color: #7fce8f; }
.vsc-term { border-top: 1px solid rgba(233,226,212,.08); padding: 10px 14px; font-size: 11.5px; line-height: 20px; background: #19150f; }
.vsc-term .vsc-h { padding: 0 0 8px; }
.tl.out { color: rgba(233,226,212,.75); padding-left: 2px; }
.vsc-status { display: flex; gap: 18px; align-items: center; padding: 0 14px; background: #ff7a33; color: #16130f; font-size: 10.5px; font-weight: 600; }
.vsc-status span:last-child { margin-left: auto; }
.live .ln code, .live .tl { animation: typeln .45s steps(28) both; animation-delay: calc(var(--n) * 110ms + 300ms); }
.live .tl.out { animation: fadein .3s both; animation-delay: calc(var(--n) * 110ms + 500ms); }
.live .ln i { animation: fadein .3s both; animation-delay: calc(var(--n) * 110ms + 700ms); }
@keyframes typeln { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadein { from { opacity: 0; } }
.live .vsc-code .ln:last-child code::after { content: ""; display: inline-block; width: 7px; height: 14px; background: #e9e2d4; vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(1) infinite; }

.vsc .si[style*="#17140f"] { background: #e9e2d4; }

/* the cover is the tool itself, edge to edge: no canvas dots, no frame label */
.canvas { background: none; }
.board { left: 0; top: 0; width: 100%; height: 100%; box-shadow: none; }
.board h1 { left: 96px; top: 150px; }
.board p { left: 96px; top: 332px; }
.board .btn { left: 96px; top: 626px; }

/* ─────────────── light, colorful: every sheet has its own ground ─────────────── */
.art.paper { --ink: #17140f; --hot: #e8551f; --rule: rgba(23,20,15,.22); --hair: rgba(23,20,15,.1); --ink-2: rgba(23,20,15,.74); --ink-3: rgba(23,20,15,.55); background: var(--ground) !important; }
.art[data-id="cover"] { --ground: #ffe9d6; }
.art[data-id="work"] { --ground: #e4edff; }
/* education is a sheet of paper: warm stock, a little grain, ink sketches, no grid */
.art[data-id="education"] { --ground: #f6f0e3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E") !important; }
.art[data-id="education"] .graph { display: none; }
.mark.school { width: 132px; height: 56px; border-radius: 10px; background: #fff; padding: 8px 12px; box-shadow: 0 1px 0 rgba(23,20,15,.08), 0 0 0 1px rgba(23,20,15,.08); }
.art[data-id="skills"] { --ground: #ece6ff; }
.art[data-id="ethos"] { --ground: #fff0c4; }
.art[data-id="ideas"] { --ground: #dff4ee; }
.art[data-id="off"] { --ground: #ffe2ea; }
/* contact closes on ink, so the white mail window and its orange button carry the page */
.art[data-id="contact"] { --ground: #17140f; --ink: #f4eee2; --hot: #ff7a33; --ink-2: rgba(244,238,226,.78); --ink-3: rgba(244,238,226,.55); --rule: rgba(244,238,226,.3); }
/* the closing word: one big "Connect", the same sign-off as the front page's last page */
.art[data-id="contact"] .stmt h2 { margin-top: 0; font-size: 84px; line-height: .95; }
.art[data-id="contact"] .avail { margin-top: 22px; }

/* cover: a light design tool */
.art[data-id="cover"] .layers { background: rgba(255,255,255,.55); border-right: 1px solid var(--hair); }
.art[data-id="cover"] .board { background: transparent; }
.art[data-id="cover"] .board p { color: var(--ink-2); }
.art[data-id="cover"] .layer-row { color: var(--ink-2); }
.photo-layer { box-shadow: 0 24px 50px -26px rgba(232,85,31,.55); background: linear-gradient(160deg, #ffb27a, #ff7a33); }
.photo-layer img { object-fit: contain; object-position: center bottom; filter: none; }
.photo-layer span { background: rgba(255,255,255,.85); color: #17140f; }

/* the blueprint on butter */
.core { background: #fffdf6; box-shadow: 0 18px 40px -26px rgba(23,20,15,.4); border-color: var(--hair); border-radius: 10px; overflow: hidden; }
.core header { background: #17140f; color: #fff; }
.node i { background: #fffdf6; }

/* contact: a white compose card on ink */
.compose { background: #fffdf8 !important; color: #17140f; box-shadow: 0 30px 60px -30px rgba(23,20,15,.5) !important; --hair: rgba(23,20,15,.1); --ink: #17140f; --ink-3: rgba(23,20,15,.5); }
.compose .btn { background: #e8551f !important; color: #fff !important; border-radius: 12px; }
.compose .field .to i { background: #e8551f; color: #fff; }
.socials2 a { background: rgba(255,255,255,.18); }

/* annotations and windows read on light grounds */
.n-prd { background: rgba(255,255,255,.7); }
.art .portal-cap { color: var(--ink-3); }

.art[data-id="contact"] .n-prd span { color: #e8551f; }
