:root{color-scheme:light;--ink:#15392c;--paper:#f8f8ed;--line:#b8c4b2;--accent:#b64015;font:100%/1.45 "Instrument Sans","Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.22em}a:focus-visible{outline:3px solid #973509;outline-offset:5px}.skip{position:absolute;top:-100px;background:white;padding:9px}.skip:focus{top:0;z-index:4}.shell{max-width:1550px;margin:auto;width:91%;min-height:100svh;display:flex;flex-direction:column}header,footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}header{border-bottom:1px solid var(--line);min-height:85px}.brand{display:inline-flex;align-items:center;gap:.55rem;font-weight:750;letter-spacing:-.045em;font-size:1.25rem;text-decoration:none}nav{display:flex;gap:clamp(1rem,3vw,3rem)}nav a{text-decoration:none;padding:10px 0;font-weight:550}nav [aria-current],nav a:hover{text-decoration:underline;text-underline-offset:.4em}main{flex:1}h1,h2,p{margin:0}h1{font-weight:650;letter-spacing:-.082em;line-height:.90}h1 i{font-family:"Baskerville","Times New Roman",serif;font-weight:500;letter-spacing:-.089em}.dot{color:var(--accent)}.home{display:grid;align-items:center;grid-template-columns:1fr 1fr;gap:4%;padding:clamp(2rem,4.2vw,5rem) 0}.intro h1{font-size:clamp(4.25rem,7.9vw,8rem)}.intro p,.projects p{font-size:clamp(1.05rem,1.5vw,1.32rem);line-height:1.48;max-width:32ch}.intro p{margin:1.65rem 0}.pill{display:inline-block;background:var(--ink);color:#f6ffa9;text-decoration:none;border-radius:3rem;padding:.85em 1.45em;font-weight:600}.pill:hover{background:#254e3c}.poster img{display:block;width:100%;height:auto;border-radius:45% 45% 3px 3px}.work{padding:clamp(2rem,4vw,4.5rem) 0}.work h1{font-size:clamp(3.7rem,7.2vw,7.5rem);margin-bottom:clamp(2rem,3.5vw,3.5rem)}.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.3rem,3.4vw,3.8rem)}.cover{display:flex;align-items:center;justify-content:center;gap:3%;min-height:150px;aspect-ratio:2.9}.cover img{width:14%;height:auto;border-radius:20%}.cover span{font-weight:740;letter-spacing:-.06em;font-size:clamp(1.8rem,3.2vw,3.7rem)}.search{background:repeating-linear-gradient(-45deg,#ded2f1 0 11px,#e4d9f3 11px 22px);color:#422260}.bis{background:repeating-linear-gradient(45deg,#f3e6df 0 1px,#f7ece7 1px 13px);color:#46192d}.bis span{font-family:Georgia,serif;font-weight:500}.projects h2{margin:.8em 0 .25em;font-size:clamp(1.6rem,2.4vw,2.5rem);letter-spacing:-.05em}.projects p{max-width:44ch;font-size:1.05rem}.textlink{display:inline-block;margin-top:.75rem;font-weight:600}footer{border-top:1px solid var(--line);padding:1.25rem 0 1.5rem;font-weight:550}footer span{font-size:.94rem}footer a{font-size:clamp(1rem,1.65vw,1.45rem);letter-spacing:-.025em}a:hover{color:#983b19}.pill:hover{color:white}@media(max-width:720px){.shell{width:89%}header{min-height:68px}.brand{font-size:1.04rem}.brand img{width:26px;height:26px}nav{gap:1rem;font-size:.96rem}.home{grid-template-columns:1fr;gap:2rem}.intro h1{font-size:clamp(4rem,13vw,6rem)}.intro p{margin:1.1rem 0 1.3rem}.poster{max-width:480px;width:100%;justify-self:center}.projects{grid-template-columns:1fr;gap:2rem}.cover{min-height:125px}.work h1{line-height:1.04}footer{flex-wrap:wrap}}@media(max-width:360px){.brand{gap:.28rem}nav{gap:.7rem}.shell{width:93%}}
.projects article{min-width:0}.cover{width:100%}@media(max-width:720px){.projects{grid-template-columns:minmax(0,1fr)}}

.showcase { display:grid; grid-template-columns:minmax(0,1.52fr) minmax(0,1fr); gap:clamp(2rem,4vw,4.4rem); }
.project { min-width:0; border-top:1px solid var(--line); padding-top:1rem; }
.project h2 { font-size:clamp(1.7rem,2.7vw,2.7rem); letter-spacing:-.055em; line-height:1.18; }
.project p { margin:.35rem 0 1rem; font-size:1rem; }
.views { display:flex; gap:.25rem; margin-bottom:.85rem; }
.views button { line-height:1.25; font-family:inherit; font-size:.95rem; font-weight:600; min-height:44px; padding:.5rem 1rem; border:1px solid var(--line); border-radius:40px; color:var(--ink); background:transparent; cursor:pointer; }
.views button[aria-pressed=true] { background:var(--ink); border-color:var(--ink); color:white; }
.views button:focus-visible { outline:3px solid #983b19; outline-offset:2px; }
.project figure { margin:0; }
.shot { display:flex; justify-content:center; align-items:center; min-width:0; height:clamp(380px,34vw,555px); padding:clamp(9px,1.4vw,22px); border:1px solid #d4d8cc; border-radius:5px; background:#eaeae2; cursor:zoom-in; }
.shot img { object-fit:contain; display:block; max-height:100%; max-width:100%; height:auto; width:auto; box-shadow:0 3px 13px #1d27251a; }
.project-sp .shot { background:#eeebf2; }
.project-bis .shot { background:#efe7e2; }
.project figcaption { display:flex; justify-content:space-between; margin-top:.45rem; font-size:.875rem; }
.project .textlink { margin-top:1.1rem; }
@media(max-width:860px) {
 .showcase { grid-template-columns:minmax(0,1fr); gap:2rem; }
 .shot { height:auto; min-height:0; padding:10px; }
 .project-sp .shot { aspect-ratio:1.36; }
 .project-bis .shot { height:clamp(445px,92vw,650px); }
}

#screenshot-viewer {
  width: min(96vw, 100rem);
  height: 94vh;
  height: 94dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
#screenshot-viewer[open] { display: flex; flex-direction: column; }
#screenshot-viewer::backdrop { background: rgb(12 24 20 / 78%); }
html:has(#screenshot-viewer[open]) { overflow: hidden; }
.viewer-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem 1rem; border-bottom: 1px solid var(--line);
}
#viewer-close {
  min-height: 44px; padding: 0 1.25rem; border: 0; border-radius: 2rem;
  font: inherit; font-weight: 600; color: white; background: var(--ink); cursor: pointer;
}
#viewer-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.viewer-pane { flex: 1; min-height: 0; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; }
.viewer-pane img { display: block; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
@media (max-width: 600px) {
  #screenshot-viewer { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .viewer-toolbar { padding-top: max(.5rem, env(safe-area-inset-top)); }
}
