/* An illustrated study desk; colours continue to follow the selected theme. */
body:not(.rich-theme):not(.paper-theme){--desk:#e9e1cf;--paper:#faf6eb;--chrome:#f0e9d9;--ink:#183f43;--muted:#53645d;--accent:#a63d26;--line:#ccc7b4;--selected:#ece5d1}
body .window{border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 70px #102f3120}
body #main{background-image:radial-gradient(color-mix(in srgb,var(--ink) 7%,transparent) .65px,transparent .65px);background-size:7px 7px}
body .titlebar{border-bottom:1px solid var(--line)}
body .titlebar #brand strong{font-family:Georgia,'Times New Roman',serif;font-size:27px;letter-spacing:-1px}
body .page-heading{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;min-height:210px;margin:0 0 24px;padding:25px 28px;border:1px solid var(--line);border-radius:4px 30px 4px 4px;background:var(--selected);overflow:hidden}
body .page-heading:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 27px,color-mix(in srgb,var(--accent) 9%,transparent) 27px 28px);z-index:-1}
body #page-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,5vw,72px);font-weight:400;letter-spacing:-3px;line-height:1.02;max-width:8em;position:relative;z-index:1}
body #page-title:after{content:'';display:block;width:75px;border-top:5px solid var(--accent);transform:rotate(-4deg);margin-top:20px;border-radius:50%}
.desk-art{width:43%;max-width:310px;flex-shrink:0;filter:drop-shadow(0 8px 6px #00000014)}
body .searchbox{border-radius:8px;border-width:2px;box-shadow:5px 5px 0 color-mix(in srgb,var(--accent) 18%,transparent)}
body .search-examples button{border-radius:5px;background:var(--selected);border-color:var(--line);padding:9px 15px}
body .search-examples button:first-child{background:var(--accent);color:var(--paper);border-color:var(--accent)}
body .search-examples button:hover{transform:translateY(-2px);color:var(--ink)}
body .resource-row{background:var(--paper);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:3px 14px 14px 3px;padding:22px 20px;margin:12px 0;box-shadow:3px 3px 0 color-mix(in srgb,var(--ink) 6%,transparent)}
body .resource-row:nth-of-type(3n+2){border-left-color:color-mix(in srgb,var(--accent) 45%,var(--ink))}
body .resource-row:nth-of-type(3n){border-left-color:var(--muted)}
body .resource-name{font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:600;letter-spacing:-.35px}
body .resource-description{max-width:66ch;font-size:14px;line-height:1.65}
body .resource-row:hover{border-color:var(--accent);box-shadow:4px 5px 0 color-mix(in srgb,var(--accent) 12%,transparent)}
body .sidebar{background-color:var(--selected);border-right:1px solid var(--line)}
body .sidebar-heading,body .sidebar-label{letter-spacing:1.4px;font-size:10px}
body .tree-button{border-radius:4px;margin-block:3px}
body .tab.active{border-radius:9px 9px 0 0;border-bottom:3px solid var(--accent)}
body .results-toolbar{border-bottom:2px solid var(--ink);margin-bottom:18px}
body .resource-row.compact{padding-block:12px}
@media(max-width:800px){body .window{border-radius:0;border:0}body .page-heading{min-height:180px;padding:22px 20px;margin-bottom:25px}body #page-title{font-size:48px;letter-spacing:-2px}.desk-art{width:44%;margin-right:-18px}body .resource-row{padding:18px 14px}body .resource-name{font-size:21px}body #main{padding:20px 16px}}
@media(max-width:440px){body .page-heading{min-height:153px;padding:20px 16px}body #page-title{font-size:39px}.desk-art{width:46%;margin-left:-12px}body .resource-row{padding:16px 12px}body .resource-description{font-size:14px}}
@media(prefers-reduced-motion:reduce){body .search-examples button:hover{transform:none}}
body[data-advanced-theme="eink"] #main{background-image:none}

/* Real stock photograph, framed like a print on the desk. */
body .page-heading{height:auto;min-height:200px;max-height:none;gap:20px}
body .page-heading .desk-art{height:185px;width:42%;object-fit:cover;object-position:center;border:8px solid #faf6eb;border-bottom-width:22px;box-shadow:3px 5px 14px #00000020;transform:rotate(3deg);margin:0;filter:none}
body .page-heading #resume-card{display:none}
@media(max-width:800px){body .page-heading{min-height:190px;padding:24px 20px}body .page-heading .desk-art{height:150px;width:43%;border-width:6px;border-bottom-width:16px}}
@media(max-width:440px){body .page-heading{min-height:155px;padding:20px 14px;gap:9px}body .page-heading .desk-art{height:120px;width:43%}}
