/* Additions to the supplied compact portfolio. */
:root{--bg:#08134a;--surface:#0b1656;--line:#5b6db1;--text:#f8fbff;--muted:#c4d3ff;--accent:#bbff00;--purple:#bbff00;--font:Inter,system-ui,sans-serif}
html{scroll-padding-top:95px}body.modal-open{overflow:hidden}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bbff00;outline-offset:5px}.icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #a6baff88;background:#112269;color:white;border-radius:7px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;gap:12px;background:#bbff00;border:2px solid #dcff81;color:#08134a;font:700 11px 'Space Mono',monospace;text-transform:uppercase;border-radius:9px}.btn:hover{filter:brightness(1.1)}.btn:disabled,.icon:disabled{opacity:.35;cursor:default}.secondary{color:#eff4ff!important;background:#13256b!important;border-color:#7288bd!important}.editor-link,.gallery-link{border:0;background:none;color:#bbff00;font:700 10px 'Space Mono',monospace;padding:10px 0}.footer-actions{display:flex;align-items:center;gap:20px;justify-content:end}.project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{padding:9px 12px;color:#dce7ff;border:1px solid #8198cc66;border-radius:7px;background:#0b1854;font:700 10px 'Space Mono',monospace}.filter.active{background:#bbff00;color:#08134a;border-color:#e4ff9b}.project-toolbar>.mono{font-size:9px;letter-spacing:1px}.project[hidden]{display:none}.project-cover{width:100%;padding:0;border:0;border-radius:0;color:white;text-align:left;font:inherit}.gallery-hint{position:absolute;bottom:12px;right:12px;padding:7px 10px;border:1px solid #e8f1ff88;border-radius:7px;background:#08134aee;font:700 8px 'Space Mono',monospace;z-index:2}.project-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.asset-spotlight{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;padding:28px;background:#08134abf;border:1px solid #6988c866;border-radius:24px}.farm-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.farm-brand>img{width:min(100%,310px);max-height:180px;object-fit:contain}.farm-brand p{font:700 10px/1.8 'Space Mono',monospace;margin:20px 0;color:#d3e0ff}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.asset-grid figure{margin:0;padding:15px 8px 12px;border:1px solid #7a90c540;border-radius:15px;background:linear-gradient(155deg,#172a74,#0c174b);display:flex;flex-direction:column;align-items:center;gap:10px}.asset-grid img{width:100%;height:110px;object-fit:contain;transition:transform .25s}.asset-grid figure:hover img{transform:translateY(-5px)}.asset-grid figcaption{font:700 9px 'Space Mono',monospace;text-align:center;color:#e4edff}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px}.text-link{font-size:11px;color:#bbff00}.eyebrow{letter-spacing:1px}.reveal{opacity:1;transform:none}.js-motion .reveal:not(.visible){opacity:0;transform:translateY(26px)}.hero h1{overflow-wrap:normal}.hero-grid>*{min-width:0}.date-chip{min-width:0}.date-square{flex-shrink:0}.date-copy{min-width:0}.section-title-row>div{min-width:0}.section-title{overflow-wrap:anywhere}.skill{min-width:0}
dialog{color:var(--text);background:#130e1c;border:1px solid #644086;border-radius:13px;width:min(1000px,calc(100% - 32px));max-height:90dvh;padding:28px;overflow:auto;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#050208cf;backdrop-filter:blur(8px)}dialog[open]{animation:dialog-in .25s ease-out}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px;color:#ae90c5}.gallery-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:30px}.gallery-copy h2{font-size:34px;letter-spacing:-1px}.gallery-copy p{font-size:13px}.tag{display:inline-block;color:var(--purple);font-size:9px;text-transform:uppercase;letter-spacing:2px}#gallery-stage{aspect-ratio:16/10;background:#0c0911;overflow:hidden;border-radius:7px;border:1px solid var(--line)}#gallery-stage img{width:100%;height:100%;object-fit:contain}#gallery-stage .placeholder-art{height:100%}.gallery-controls{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.gallery-controls .mono{font-size:8px;color:#bdadcc}#thumbnails{display:flex;gap:8px;flex-wrap:wrap}#thumbnails button{padding:2px;border:1px solid var(--line);background:none;width:72px;border-radius:5px}#thumbnails button.active{border-color:var(--purple)}#thumbnails img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:3px}dl{margin:25px 0;font-size:11px}dt{font-size:8px;color:#a183b7;letter-spacing:1.5px;margin-top:16px}dd{margin:4px 0 0}#editor{max-width:730px}#editor h2{font-size:36px}#editor>p,fieldset p{font-size:12px}label{display:block;font-size:11px;color:#d2bcdf;margin-bottom:15px}input,textarea,select{display:block;width:100%;padding:10px 12px;background:#0d0913;border:1px solid #4b365d;color:white;margin-top:7px;min-width:0}textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.locked{font-size:10px}fieldset{border:1px solid var(--line);padding:18px;border-radius:8px;margin:15px 0}legend{font-size:12px}.upload{padding:10px 15px;border:1px dashed #81559c;border-radius:6px;display:inline-block;cursor:pointer}.upload input,#import{font-size:10px}.edit-image{display:grid;grid-template-columns:70px 1fr 35px;align-items:center;gap:12px;margin-bottom:12px}.edit-image img{width:70px;height:45px;object-fit:cover;border-radius:4px}.edit-image input{margin:0}.edit-image button{background:#32213f;padding:6px}.editor-tools{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:18px;margin-top:25px;gap:20px}.editor-tools label{margin:0}#editor-status{font-size:11px;color:#d5b1ff}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);border:1px solid #865db0;background:#281737;color:white;padding:12px 20px;border-radius:7px;opacity:0;pointer-events:none;transition:.3s;z-index:100;font-size:12px;max-width:90%}#toast.show{opacity:1}.secondary{background:#261935;border-color:#634080}
dialog{background:#0b1656;border-color:#7a94d4;box-shadow:0 30px 100px #000b}dialog h2{font-family:Anton,sans-serif;line-height:1.1}dialog p{line-height:1.8;color:#d2e0ff}dialog label{color:#dce7ff}dialog input,dialog textarea,dialog select{background:#07113d;color:white;border:1px solid #8298cd77}dialog .tag,dialog dt{color:#bbff00}dialog .mono{color:#c7d9ff}dialog dd{font-family:Inter,sans-serif}#gallery-stage{background:#070e35;border-color:#6e84bf77}#gallery-stage img{object-fit:contain}#image-count{letter-spacing:0;max-width:70%;font:10px/1.6 Inter,sans-serif;text-align:center}.edit-image input{width:100%;min-width:0}#editor{box-sizing:border-box}#editor input[type=file]{max-width:100%;font-size:10px}#editor-status{color:#d5ff72}#toast{background:#10205d;border-color:#baff00}.locked{color:#a7bbeb}#thumbnails{gap:8px}#thumbnails button{cursor:pointer}#thumbnails button.active{border-color:#bbff00}.gallery-copy h2{overflow-wrap:anywhere}.placeholder-art{height:100%;display:grid;place-content:center;text-align:center;color:#d2e0ff;gap:10px}.glyph{font-size:60px}.pending{font-size:12px}
@media(max-width:1180px){.hero-visual{order:0}.hero-grid{grid-template-columns:1.05fr .95fr}.hero h1{font-size:clamp(42px,7vw,90px)}}
@media(max-width:860px){.hero-grid{grid-template-columns:1fr}.hero-visual{order:0;margin-top:30px}.hero h1{font-size:clamp(43px,10.5vw,86px)}.hero .eyebrow{font-size:9px;letter-spacing:1px}.section-title-row{flex-wrap:wrap}.footer-actions{justify-content:center}.asset-spotlight{grid-template-columns:1fr;gap:15px;padding:16px}.farm-brand{padding:10px}.asset-grid img{height:100px}.section-title{font-size:clamp(36px,9vw,70px)}.gallery-layout{grid-template-columns:1fr}.gallery-copy h2{font-size:30px}dialog{padding:20px}.form-grid{grid-template-columns:1fr;gap:0}.editor-tools{align-items:flex-start;flex-direction:column}.edit-image{grid-template-columns:45px 1fr 30px;gap:8px}.edit-image img{width:45px}#editor .actions .btn{width:100%}.project-toolbar>.mono{display:none}.hero-card{width:min(360px,86%)}.date-copy span{overflow-wrap:anywhere}.asset-grid{gap:10px}.asset-grid figcaption{font-size:8px}.nav{align-items:center}}
@media(prefers-reduced-motion:reduce){.js-motion .reveal:not(.visible){opacity:1;transform:none}}
/* Circular hero profile picture; the status badge sits outside the crop. */
.hero-card{border-radius:50%;overflow:visible;aspect-ratio:1/1;background:none;border:0;box-shadow:none}
.hero-card::before{display:none}
.hero-card-image{border-radius:50%;aspect-ratio:1/1;object-fit:cover;border:0;box-shadow:0 0 42px #8b4dff66}
.hero-badge{right:0;bottom:0;z-index:2}
