:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-background:#f2e9dc;--card-background:#fcf8f1;--soft-background:#e6d7c3;--text-colour:#332a23;--muted-colour:#706052;--accent-colour:#815336;--border-colour:#cdbca6;--timeline-colour:#9b7555;--card-shadow:0 8px 24px #412b180f}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-background:#231e19;--card-background:#302820;--soft-background:#3b3026;--text-colour:#f3e7d7;--muted-colour:#c8b49c;--accent-colour:#e3b687;--border-colour:#67523d;--timeline-colour:#c3976b;--card-shadow:0 8px 24px #00000026}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:7rem}body{background:var(--page-background);min-width:280px;color:var(--text-colour);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}h1,h2,h3{overflow-wrap:anywhere;margin-top:0;line-height:1.2}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400}h1{font-size:clamp(2rem,4vw,3rem)}h2{margin-bottom:2rem;font-size:clamp(1.65rem,3vw,2.3rem)}h3{font-size:1.2rem}p{margin-top:0}a{color:var(--accent-colour);text-underline-offset:4px;overflow-wrap:anywhere}a[href]:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,video:focus-visible{outline:3px solid var(--accent-colour);outline-offset:5px}button{font:inherit}img,video{max-width:100%;display:block}main{width:min(1120px,100% - 3rem);margin-inline:auto}main>section{padding-block:3.5rem}main>section+section{border-top:1px solid var(--border-colour)}#header{z-index:100;color:#fff8ef;background:linear-gradient(#393939 0%,#202020 44%,#0a0a0a 50%,#171717 100%);border-top:1px solid #626262;border-bottom:1px solid #4b4238;flex-wrap:nowrap;align-items:center;gap:clamp(1rem,3vw,2.5rem);width:100%;min-height:80px;padding:1rem max(1.5rem,50vw - 560px);display:flex;position:sticky;top:0;box-shadow:0 5px 18px #0000002e}.site-name{color:#fff8ef;white-space:nowrap;flex-shrink:0;margin:0 auto 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.15rem,2vw,1.5rem)}#header nav{flex-shrink:0}#header nav ul{align-items:center;gap:clamp(1rem,2.5vw,2rem);margin:0;padding:0;list-style:none;display:flex}#header nav a{color:#efe5d7;white-space:nowrap;padding-block:.5rem;font-size:.9rem;text-decoration:none;display:inline-block}#header nav a:hover{color:#fff;text-underline-offset:7px;text-decoration:underline}#header a:focus-visible,#header button:focus-visible{outline-color:#e7c5a0}#modechange{color:#f6e8d6;white-space:nowrap;cursor:pointer;background:linear-gradient(#38332e,#1b1815);border:1px solid #766553;border-radius:999px;flex-shrink:0;padding:.55rem 1rem;font-size:.78rem}#modechange:not(:disabled):hover{background:#40362c;border-color:#e3c29e}#modechange:disabled{opacity:.7;cursor:not-allowed}#home{padding-block:3.5rem 4rem}#introduction-container{grid-template-columns:minmax(240px,320px) minmax(0,1fr);align-items:center;gap:1.5rem clamp(2rem,6vw,5rem);display:grid}.city{grid-column:1/-1}.city p{color:var(--accent-colour);letter-spacing:.15em;margin:0;font-size:.75rem;font-weight:700}.introduction{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;min-width:0;display:grid}.introduction>img{aspect-ratio:1;object-fit:cover;border:1px solid var(--border-colour);background:var(--soft-background);width:100%;color:var(--muted-colour);border-radius:12px;grid-column:1/-1}.introduction h1{margin:0}#playName{border:1px solid var(--border-colour);background:var(--card-background);width:42px;height:42px;color:var(--text-colour);border-radius:50%;place-items:center;padding:8px;display:grid}#playName img{object-fit:contain;width:24px;height:24px;font-size:8px}#playName:disabled{opacity:.6;cursor:not-allowed}.about-me{min-width:0;font-size:1.05rem}.about-me>p:first-child{color:var(--text-colour);font-family:Georgia,Times New Roman,serif;font-size:clamp(1.5rem,3vw,2rem);line-height:1.4}.about-me p{color:var(--muted-colour);margin-bottom:1.25rem}.about-me p:last-child{margin-bottom:0}.timeline-list{--track-width:144px;--marker-top:32px;margin:0;padding:0;list-style:none}.timeline-item{grid-template-columns:minmax(0, 1fr) var(--track-width) minmax(0, 1fr);align-items:start;padding-bottom:2.5rem;display:grid;position:relative}.timeline-entry{border:1px solid var(--border-colour);background:var(--card-background);min-width:0;box-shadow:var(--card-shadow);border-radius:10px;grid-area:1/1;margin-right:20px;padding:1.5rem}.timeline-item:nth-child(2n) .timeline-entry{grid-column:3;margin-left:20px;margin-right:0}.timeline-item:before{content:"";top:var(--marker-top);left:calc(50% - var(--track-width) / 2);width:var(--track-width);background:var(--timeline-colour);clip-path:polygon(0 0,3px 0,100% calc(100% - 3px),100% 100%,calc(100% - 3px) 100%,0 3px);pointer-events:none;height:100%;position:absolute}.timeline-item:nth-child(2n):before{transform:scaleX(-1)}.timeline-item:last-child:before{display:none}.timeline-item:after{content:"";top:var(--marker-top);left:calc(50% - var(--track-width) / 2);border:3px solid var(--accent-colour);background:var(--page-background);width:14px;height:14px;box-shadow:0 0 0 5px var(--page-background);border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.timeline-item:nth-child(2n):after{left:calc(50% + var(--track-width) / 2)}.timeline-entry p:last-child{margin-bottom:0}.entry-date,.project-date{color:var(--accent-colour);font-size:.8rem;font-weight:600}.section-heading-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1rem 2rem;margin-bottom:2rem;display:flex}.section-heading-row h2{margin-bottom:0}.section-note,.timeline-return{color:var(--muted-colour);margin:0;font-size:.85rem}.timeline-entry h3{margin-bottom:.65rem}.entry-type{color:var(--muted-colour);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.65rem;font-size:.7rem;font-weight:700}.entry-organisation{color:var(--muted-colour);font-size:.85rem}.status-badge{border:1px solid var(--accent-colour);background:var(--soft-background);color:var(--accent-colour);white-space:nowrap;vertical-align:middle;border-radius:999px;margin:.2rem 0 .2rem .4rem;padding:.12rem .55rem;font-size:.7rem;font-weight:700;display:inline-block}.timeline-item[data-status=ongoing]:after{background:var(--accent-colour)}.milestone-projects{border-top:1px solid var(--border-colour);margin:1.25rem 0 0;padding:1rem 0 0 1.1rem;font-size:.85rem}.milestone-projects li+li{margin-top:.4rem}.project-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,28rem),1fr));gap:1.5rem;display:grid}.project{border:1px solid var(--border-colour);background:var(--card-background);min-width:0;box-shadow:var(--card-shadow);border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:1rem;padding:clamp(1.25rem,3vw,2rem);display:grid}.project>h3,.project>p{grid-column:1/-1;margin-bottom:0}.project>h3{font-family:Georgia,Times New Roman,serif;font-size:1.6rem;font-weight:400}.project-group-heading{color:var(--muted-colour);margin:0 0 1.25rem;font-size:.9rem;font-weight:600}.project-list+.project-group-heading{margin-top:3rem}.project-tags{flex-wrap:wrap;grid-column:1/-1;gap:.4rem;margin:.25rem 0;padding:0;list-style:none;display:flex}.project-tags li{border:1px solid var(--border-colour);color:var(--muted-colour);border-radius:4px;padding:.2rem .5rem;font-size:.75rem}.project-links{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.repository-note{color:var(--muted-colour);font-size:.75rem}.project-media-slot{grid-column:1/-1}.project[id]{scroll-margin-top:1rem}.project-github{border:1px solid var(--accent-colour);color:var(--accent-colour);border-radius:6px;padding:.5rem .9rem;font-size:.85rem;text-decoration:none;display:inline-block}.project-github[href]:hover{background:var(--accent-colour);color:var(--card-background)}.project-github[aria-disabled=true]{opacity:.7;cursor:not-allowed}.project figure{border:1px solid var(--border-colour);background:var(--soft-background);border-radius:8px;min-width:0;margin:.5rem 0 0;overflow:hidden}.project-photo{flex-direction:column;justify-content:center;min-height:180px;display:flex}.project-photo img{object-fit:contain;width:100%;height:auto;max-height:400px}.project-video video{aspect-ratio:16/9;object-fit:contain;background:#181512;width:100%}.project figcaption{color:var(--muted-colour);text-align:center;padding:.65rem 1rem;font-size:.8rem}.blog-list{gap:1.5rem;display:grid}.blog-list>article{border:1px solid var(--border-colour);background:var(--card-background);border-radius:10px;padding:1.5rem}body>footer{border-top:1px solid var(--border-colour);background:var(--soft-background);color:var(--muted-colour);text-align:center;padding:2rem 1.5rem;font-size:.85rem}body>footer p{margin:0}@media (width<=760px){#header{scrollbar-width:thin;scrollbar-color:#84715b #171717;gap:1rem;min-height:72px;padding:.85rem 1rem;overflow-x:auto}#header nav ul{gap:1rem}#header nav a{font-size:.8rem}#modechange{padding:.5rem .75rem;font-size:.72rem}main{width:calc(100% - 2rem)}main>section{padding-block:2.5rem}#introduction-container{grid-template-columns:1fr;gap:2rem}.introduction{max-width:320px}.about-me{font-size:1rem}.timeline-list{--track-width:20px}.timeline-item{padding-bottom:2rem;padding-left:44px;display:block}.timeline-entry,.timeline-item:nth-child(2n) .timeline-entry{margin:0;padding:1.15rem}.timeline-item:before,.timeline-item:after{left:5px}.timeline-item:nth-child(2n):after{left:calc(5px + var(--track-width))}.project{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
