@charset "UTF-8";
:root{--bg:#242720;--panel:#2c3028;--ink:#f0eee5;--muted:#b5b8ac;--accent:#d7e79e;--line:#4d5147;--sans:Arial,Helvetica,sans-serif;--serif:Georgia,'Times New Roman',serif;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:6px}::selection{background:var(--accent);color:var(--accent-ink)}.shell{max-width:1312px;padding:0 64px;margin:auto}.preview-banner{text-align:center;background:var(--accent);color:var(--accent-ink);font-size:11px;letter-spacing:.09em;padding:7px 16px}.preview-banner span{padding:0 8px}.skip-link{position:fixed;top:8px;left:16px;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;z-index:10;background:var(--accent);color:var(--accent-ink);padding:10px}.skip-link:focus{width:auto;height:auto;clip-path:none;overflow:visible}.site-header{height:115px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:baseline;font-family:var(--serif);font-weight:bold;font-size:36px;letter-spacing:-2px}.wordmark span{font-weight:normal}.wordmark i{color:var(--accent);font-size:28px;font-style:normal;margin-left:12px}.site-header nav{display:flex;gap:36px;font-size:13px}.site-header nav a{padding:10px 0}.site-header nav a:hover,.back-link:hover{color:var(--accent)}.site-header nav span{margin-left:6px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;padding:76px 0 90px}.eyebrow{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:normal;margin:0 0 16px}.intro-label{display:flex;align-items:center;gap:12px}.small-star{font-size:20px;color:var(--accent);line-height:1}h1,h2,h3,p{margin-top:0}h1{font-family:var(--serif);font-weight:normal;font-size:clamp(62px,6.6vw,92px);letter-spacing:-4px;line-height:1.02;margin-bottom:24px}h1 em,h2 em{font-weight:normal;color:var(--accent)}.hero-description{font-size:16px;line-height:1.8;color:var(--muted);margin:26px 0 30px}.button{display:inline-flex;gap:36px;align-items:center;background:var(--accent);color:var(--accent-ink);padding:13px 20px;font-size:12px;border-radius:2px}.button span{font-size:19px}.button:hover{background:var(--accent-hover)}.portrait{margin:28px 0 0}.portrait-frame{position:relative}.portrait-frame picture{display:block;background:var(--photo-mat);padding:10px;border:1px solid var(--photo-border);box-shadow:10px 14px 0 var(--shadow);transform:rotate(2deg)}.portrait img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;filter:saturate(.65)}.motion-toggle{position:absolute;bottom:20px;right:20px;background:var(--control-bg);color:var(--control-ink);border:1px solid var(--control-border);border-radius:2px;font-size:12px;padding:6px 10px;cursor:pointer}.motion-toggle:hover{background:var(--control-hover)}.portrait figcaption{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-top:28px}.portrait-caption{font-family:var(--serif);font-style:italic}.section{padding:48px 0 40px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:32px;gap:24px}.section-heading .eyebrow{margin-bottom:10px}h2{font-family:var(--serif);font-size:43px;font-weight:normal;line-height:1.15;letter-spacing:-1.6px;margin-bottom:0}h2>span{color:var(--accent)}.section-heading>p{font-size:12px;color:var(--muted);margin:0;max-width:230px;line-height:1.7}.project-row{display:grid;grid-template-columns:40px 1fr auto 32px;gap:24px;align-items:center;padding:32px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.project-row+.project-row{border-top:0}.row-number{font-size:11px;color:var(--muted);align-self:start;padding-top:3px}.project-info .eyebrow,.note-row .eyebrow{font-size:9px;margin-bottom:8px}h3{font-family:var(--serif);font-weight:normal;font-size:27px;letter-spacing:-.4px;margin-bottom:10px;line-height:1.25}.project-info p,.note-row p{color:var(--muted);font-size:13px;line-height:1.7;max-width:510px;margin:0}.project-status{font-size:10px;white-space:nowrap;color:var(--accent);border:1px solid var(--badge-border);border-radius:20px;padding:5px 12px}.row-arrow{font-size:27px;font-weight:normal;color:var(--accent);transition:transform .18s}.project-row:hover h3,.note-row:hover h3{color:var(--accent)}.project-row:hover .row-arrow,.note-row:hover .row-arrow{transform:translate(3px,-3px)}.draft-tag{font-size:9px;letter-spacing:.08em;border:1px solid var(--draft-border);color:var(--draft-ink);border-radius:2px;padding:2px 5px;margin-left:8px;white-space:nowrap}.working-note{font-size:11px;color:var(--muted);margin:19px 0 4px}.working-note span{color:var(--accent);margin-right:9px}.notes{border-top:0;padding-top:28px;padding-bottom:64px}.note-row{display:grid;grid-template-columns:170px 1fr 32px;gap:24px;align-items:start;border-top:1px solid var(--line);padding:28px 0}.note-row time{font-size:11px;color:var(--muted);padding-top:3px}.note-row h3{font-size:25px}.empty-state{color:var(--muted);font-size:14px;border-top:1px solid var(--line);padding:28px 0;margin:0}.contact{display:flex;align-items:center;justify-content:space-between;gap:40px;background:var(--accent);color:var(--accent-ink);padding:46px 48px;margin-bottom:54px;border-radius:3px}.contact .eyebrow{color:var(--accent-muted);margin-bottom:16px}.contact h2{font-size:60px;margin-bottom:16px;letter-spacing:-2px}.contact h2 em{color:var(--accent-ink)}.contact p:not(.eyebrow){font-size:12px;color:var(--accent-muted);margin-bottom:16px}.email-link{font-size:17px;border-bottom:1px solid var(--accent-border);padding-bottom:4px}.email-link span{margin-left:18px}.business-card{position:relative;isolation:isolate;display:flex;flex-direction:column;width:265px;min-height:154px;padding:22px 24px;color:var(--ink);font-size:13px}.business-card::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--bg);transform:rotate(-5deg);box-shadow:5px 8px 0 var(--accent-shadow)}.business-card:hover::before{transform:rotate(-2deg)}.card-monogram{font-weight:bold;font-size:21px;letter-spacing:4px;margin-bottom:12px}.card-bottom{border-top:1px solid var(--line);margin-top:13px;padding-top:12px;color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:12px}footer{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid var(--line);padding:24px 0 34px;font-size:10px;color:var(--muted)}footer p{margin:0;font-family:var(--serif);font-style:italic;font-size:12px}.footer-name{color:var(--ink);font-weight:bold}.footer-name span{font-weight:normal;color:var(--muted)}.article{max-width:780px;margin:64px auto 100px;min-height:45vh}.back-link{font-size:12px;color:var(--muted)}.article-meta{margin:52px 0 20px}.article h1{font-size:64px;line-height:1.1;letter-spacing:-2.5px}.article-lead{font-size:21px;color:var(--muted);line-height:1.6;border-bottom:1px solid var(--line);padding-bottom:32px}.article-body{font-size:17px;line-height:1.9;max-width:680px}.article-body p{margin-bottom:24px}.article-back{display:inline-block;margin-top:28px}
@media(min-width:1450px){.hero{padding-top:90px;padding-bottom:100px}}
@media(max-width:1000px){.shell{padding:0 36px}.hero{gap:36px}h1{font-size:70px}.project-row{grid-template-columns:28px 1fr 28px;gap:18px}.project-status{grid-column:2;grid-row:2;justify-self:start}.project-row>.row-arrow{grid-column:3;grid-row:1}.portrait figcaption{flex-direction:column;gap:4px}.contact{padding:36px;gap:28px}.business-card{width:230px;flex-shrink:0}.contact h2{font-size:50px}footer p{max-width:170px;text-align:center}}
@media(max-width:700px){.shell{padding:0 24px}.preview-banner{font-size:9px}.site-header{height:90px}.wordmark{font-size:31px}.wordmark i{font-size:22px;margin-left:8px}.site-header nav{gap:18px;font-size:11px}.hero{grid-template-columns:1fr;gap:32px;padding:46px 0 56px}.hero h1{font-size:76px;letter-spacing:-4px}.hero-description{font-size:15px}.portrait{width:calc(100% - 8px);max-width:470px;margin:10px auto 0}.portrait figcaption{margin-top:28px}.section{padding-top:34px}.section-heading{display:block;margin-bottom:24px}.section-heading>p{margin-top:16px;font-size:12px}.section-heading>p br{display:none}h2{font-size:35px}.project-row{padding:24px 0;gap:12px}.project-info h3{font-size:25px}.project-info p{font-size:12px}.working-note{font-size:10px}.note-row{grid-template-columns:1fr 24px;gap:12px}.note-row time{grid-column:1/-1}.notes{padding-top:10px;padding-bottom:32px}.contact{padding:30px 24px;margin:0 -8px 36px;display:block}.contact .eyebrow{font-size:8px}.contact h2{font-size:52px}.business-card{margin:36px 4px 12px;width:230px}.contact p:not(.eyebrow){font-size:12px}footer{display:flex;flex-wrap:wrap;gap:16px;font-size:10px}footer p{order:3;max-width:none;width:100%;text-align:left}footer>a:last-child{margin-left:auto}.article{margin:40px auto 64px}.article-meta{font-size:9px;margin-top:36px}.article h1{font-size:45px;letter-spacing:-1.8px}.article-lead{font-size:18px}.article-body{font-size:16px}}
@media(max-width:360px){.shell{padding:0 18px}.site-header nav{gap:12px}.hero h1{font-size:64px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}.portrait img{object-fit:contain}}

/* Public projects: developer list and app cards. */
.project-article h1 { overflow-wrap: anywhere; }
.project-summary { font-size: 21px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 44px; }
.project-story { border-top: 1px solid var(--line); padding-top: 32px; }
.project-detail { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 32px; }
.story-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.story-heading h2 { font-size: 32px; letter-spacing: -1px; }
.story-heading .draft-tag { margin-left: 0; }
.story-pending { color: var(--muted); }
.related-projects { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 24px; }
.related-projects h2 { font-size: 24px; letter-spacing: -.5px; margin-bottom: 16px; }
.related-projects a { display: block; width: fit-content; color: var(--accent); padding: 6px 0; }
.related-projects a:hover { text-decoration: underline; }
.related-projects a > span:last-child { margin-left: 10px; }
.technical-draft-link { border: 1px dashed var(--line); padding: 16px; margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.technical-draft-link .draft-tag { margin-left: 0; }
.technical-draft-link a { color: var(--accent); font-size: 13px; }
.technical-draft-link a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .project-summary { font-size: 18px; }
  .story-heading h2 { font-size: 28px; }
}

.email-link { overflow-wrap: anywhere; }
button.email-link { background: none; color: inherit; border: 0; border-bottom: 1px solid var(--accent-border); padding: 0 0 4px; cursor: pointer; }
.contact .email-link:focus-visible { outline-color: var(--accent-ink); }
.contact > div { min-width: 0; }

.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; padding-bottom: 64px; }
.about-heading h2 { max-width: 320px; color: var(--accent); }
.about-copy { max-width: 680px; }
.about-copy p { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 22px; }
.about-copy p:first-child { color: var(--ink); font-size: 17px; }
.about-copy p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .site-header { height: auto; padding: 18px 0 10px; flex-wrap: wrap; gap: 8px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; }
  .about { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
  .about-heading h2 { max-width: none; }
  .about-copy p, .about-copy p:first-child { font-size: 15px; }
}

.project-navigation { display: flex; gap: 12px; margin: 0 0 34px; flex-wrap: wrap; }
.project-navigation a { border: 1px solid var(--line); border-radius: 2px; padding: 9px 16px; font-size: 12px; }
.project-navigation a:hover { border-color: var(--accent); color: var(--accent); }
.project-navigation span { color: var(--accent); margin-left: 16px; }
.project-group + .project-group { margin-top: 48px; }
.group-heading { margin-bottom: 22px; }
.group-heading h3 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin-bottom: 8px; }
.group-heading p { font-size: 12px; color: var(--muted); margin: 0; }
.group-count { font: 10px var(--sans); border: 1px solid var(--line); color: var(--muted); border-radius: 50%; width: 23px; height: 23px; display: inline-flex; justify-content: center; align-items: center; }
.project-info h4, .app-card h4 { font: normal 27px/1.25 var(--serif); letter-spacing: -.4px; margin: 0 0 10px; overflow-wrap: anywhere; }
.project-destination { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.github-link { font-size: 11px; color: var(--accent); white-space: nowrap; }
.project-row:hover h4, .app-card:hover h4 { color: var(--accent); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card { display: flex; flex-direction: column; padding: 28px 24px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 3px; }
.app-card:hover { border-color: var(--accent); }
.app-card .eyebrow { font-size: 9px; }
.app-card p { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0 0 24px; }
.app-card-footer { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.app-card-footer .github-link { margin-left: auto; }
@media (max-width: 1000px) {
  .project-destination { grid-column: 2; grid-row: 2; flex-direction: row; align-items: center; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 26px; }
}
@media (max-width: 700px) {
  .project-info h4, .app-card h4 { font-size: 25px; }
  .project-row { grid-template-columns: 24px minmax(0, 1fr) 24px; }
  .project-destination { flex-wrap: wrap; }
  .group-heading h3 { font-size: 26px; }
  .app-card { padding: 24px 20px; }
}

/* Language navigation stays separate from the site's main navigation. */
.header-links { display: flex; align-items: center; gap: 28px; }
.site-header .language-switch { gap: 12px; border-left: 1px solid var(--line); padding-left: 22px; font-size: 11px; }
.language-switch a { color: var(--muted); }
.language-switch a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.portrait-credit { font-size: 11px; color: var(--muted); text-underline-offset: 3px; }
.portrait-credit:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .header-links { gap: 18px; }
  .site-header .main-navigation { gap: 20px; }
  .site-header .language-switch { padding-left: 16px; }
}
@media (max-width: 700px) {
  .header-links { width: 100%; flex-wrap: wrap; gap: 0; }
  .site-header .main-navigation { width: 100%; gap: 12px; }
  .site-header .language-switch { width: auto; margin-left: auto; border: 0; padding-left: 0; gap: 16px; }
}

/* Theme tokens cover the whole page, including colours on accent backgrounds. */
:root {
  --accent-ink: #242720;
  --accent-muted: #475137;
  --accent-border: #838f65;
  --accent-hover: #e7f4bf;
  --accent-shadow: #b7c583;
  --badge-border: #646e4a;
  --draft-ink: #e0dba3;
  --draft-border: #77785f;
  --photo-mat: #81827c;
  --photo-border: #96998d;
  --shadow: #1b1e18;
  --control-bg: #242720e8;
  --control-hover: #242720;
  --control-ink: #f0eee5;
  --control-border: #b5b8ac;
}
:root, :root[data-theme="midnight"] {
  color-scheme: dark;
  --bg: #152331; --panel: #1c3042; --ink: #f2eee6; --muted: #b2c2ce;
  --accent: #efbb87; --line: #44586a; --accent-ink: #202a32;
  --accent-muted: #454039; --accent-border: #8e6a48; --accent-hover: #ffd4a9;
  --accent-shadow: #cf9c6a; --badge-border: #877055;
  --draft-ink: #efc99d; --draft-border: #8f785d;
  --photo-mat: #526575; --photo-border: #778c9d; --shadow: #0c1824;
}
/* The earlier olive scheme remains available for preview comparisons. */
:root[data-theme="original"] {
  color-scheme: dark;
  --bg: #242720; --panel: #2c3028; --ink: #f0eee5; --muted: #b5b8ac;
  --accent: #d7e79e; --line: #4d5147; --accent-ink: #242720;
  --accent-muted: #475137; --accent-border: #838f65; --accent-hover: #e7f4bf;
  --accent-shadow: #b7c583; --badge-border: #646e4a;
  --draft-ink: #e0dba3; --draft-border: #77785f;
  --photo-mat: #81827c; --photo-border: #96998d; --shadow: #1b1e18;
}
:root[data-theme="paper"] {
  color-scheme: light;
  --bg: #f6f0e4; --panel: #eae1d2; --ink: #2c2823; --muted: #666057;
  --accent: #8e402b; --line: #c4b7a5; --accent-ink: #fff7eb;
  --accent-muted: #fff0df; --accent-border: #ce9c84; --accent-hover: #72301e;
  --accent-shadow: #6f2f1f; --badge-border: #aa735c;
  --draft-ink: #694b20; --draft-border: #a9916d;
  --photo-mat: #d9c9b4; --photo-border: #b19c80; --shadow: #ddd1bf;
}
:root[data-theme="plum"] {
  color-scheme: dark;
  --bg: #2b2230; --panel: #392c40; --ink: #f6edf2; --muted: #c6b4c4;
  --accent: #dfb0d2; --line: #655069; --accent-ink: #322037;
  --accent-muted: #51344d; --accent-border: #916b8a; --accent-hover: #f1c8e6;
  --accent-shadow: #bb8aaf; --badge-border: #94758f;
  --draft-ink: #ebc9db; --draft-border: #94758f;
  --photo-mat: #806e81; --photo-border: #aa96aa; --shadow: #211727;
}
.theme-picker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 16px 0 0; margin: 16px 0 0; border: 0;
}
.theme-picker[hidden] { display: none; }
.theme-picker legend { padding: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.theme-picker button {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 3px;
  background: var(--panel); color: var(--ink); font: 12px var(--sans); cursor: pointer;
}
.theme-picker button:hover { border-color: var(--accent); }
.theme-picker button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.theme-swatch { width: 24px; height: 18px; border: 1px solid #8888; border-radius: 3px; }
[data-preview-theme="original"] .theme-swatch { background: linear-gradient(90deg, #242720 50%, #d7e79e 50%); }
[data-preview-theme="midnight"] .theme-swatch { background: linear-gradient(90deg, #152331 50%, #efbb87 50%); }
[data-preview-theme="paper"] .theme-swatch { background: linear-gradient(90deg, #f6f0e4 50%, #8e402b 50%); }
[data-preview-theme="plum"] .theme-swatch { background: linear-gradient(90deg, #2b2230 50%, #dfb0d2 50%); }
@media (max-width: 700px) {
  .theme-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-picker button { min-height: 42px; font-size: 11px; }
}

.notes-index { max-width: 960px; }
.notes-intro { color: var(--muted); font-size: 18px; margin-bottom: 36px; }
.notes-index .note-row h2 { font-size: 27px; letter-spacing: -.4px; margin-bottom: 10px; }
@media (max-width: 700px) {
  .notes-intro { font-size: 16px; }
  .notes-index .note-row h2 { font-size: 25px; }
}
