@charset "UTF-8";

:root {
    color-scheme: light;
    --paper: #f8f7f2;
    --ink: #203e35;
    --body: #4c5c54;
    --muted: #647269;
    --meta: #405149;
    --forest: #183e36;
    --gold: #976a2e;
    --line: #d9dfd5;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
::selection { background: #dbe6ca; color: #173b32; }
.wrap { width: min(1000px, calc(100% - 80px)); margin-inline: auto; }
.forest-view {
    --ink: #f6f6ef;
    --body: #e6ece0;
    --muted: #d7e0d0;
    --meta: #d7e0d0;
    --gold: #e9d3a7;
    --line: #ffffff45;
    background: #183e36;
    isolation: isolate;
}
.forest-dark {
    color-scheme: dark;
    --ink: #f1f3e9;
    --body: #d6e0d4;
    --muted: #afc2b4;
    --meta: #c0d1c2;
    --gold: #dfc28b;
    --line: #b4cbb449;
    background: #101f1b;
}
.forest-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: #183e36;
    pointer-events: none;
}
.forest-placeholder { position: absolute; inset: -70px; background-position: center; background-size: cover; filter: blur(38px); }
.forest-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 650ms ease; }
.forest-image.is-ready { opacity: 1; }
.forest-background::after { content: ''; position: absolute; inset: 0; background: #0c2119a6; }
.forest-bright .forest-background::after { background: #0c2119c2; }
.forest-dark .forest-background { background: #101f1b; }
.forest-dark .forest-background::after { background: #071611db; }
.forest-view .page-shell { background: transparent; }
.background-switch { display: flex; align-items: center; margin-left: 0; padding-left: 14px; border-left: 1px solid var(--line); }
.background-switch select { appearance: none; background-color: transparent; border: 0; color: var(--body); font: inherit; font-size: 12px; line-height: 1.65; padding: 3px 17px 3px 0; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%); background-position: calc(100% - 7px) 55%, calc(100% - 3px) 55%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.background-switch select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.background-switch option { color: #203e35; background: #f8f7f2; }
.forest-dark .background-switch option { color: #f1f3e9; background: #172c25; }
.background-switch noscript button { font: inherit; font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px 20px; background: var(--forest); color: white; z-index: 5; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 94px; gap: 24px; }
.monogram { display: inline-flex; align-items: center; flex: none; }
.monogram span { display: block; width: 54px; aspect-ratio: 1153 / 815; background: var(--ink); mask: url('assets/monogram.svg') center / contain no-repeat; -webkit-mask: url('assets/monogram.svg') center / contain no-repeat; }
h1 > span { color: var(--gold); }
.monogram:hover { text-decoration: none; }
.header-links { display: flex; gap: 27px; align-items: center; font-size: 13px; }
.header-links > a > span { padding-left: 3px; }
.language { display: flex; gap: 8px; margin-left: 6px; font-size: 12px; color: var(--body); }
.language a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 55px; align-items: center; padding: 49px 0 65px; }
h1 { font: normal clamp(36px, 4.1vw, 51px)/1.15 var(--serif); letter-spacing: -.045em; }
.intro-copy > p { max-width: 630px; margin-top: 21px; color: var(--body); font-size: 16px; line-height: 1.85; }
.portrait-frame { display: block; width: 170px; height: 170px; border-radius: 50%; border: 4px solid #e2e8d9; box-shadow: 0 0 0 1px #d9dfcf; background: #e2e8d9; }
.forest-dark .portrait-frame { border-color: #496052; box-shadow: 0 0 0 1px #7d9683; background: #273e33; }
.portrait { width: 100%; height: 100%; object-fit: cover; }
.progressive { position: relative; display: block; overflow: hidden; background: #e5e8de; }
.progressive::before { content: ''; position: absolute; inset: -24px; background-image: var(--lqip); background-position: center; background-size: cover; filter: blur(18px); transform: scale(1.08); opacity: 1; transition: opacity .35s ease; }
.progressive.is-loaded::before { opacity: 0; }
.progressive img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.progressive.is-loaded img { opacity: 1; }
.progressive noscript img { opacity: 1; }
.progressive[data-error]::before { opacity: 1; }
.work { border-top: 1px solid var(--line); padding-block: 32px 51px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; margin-bottom: 25px; }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.8; }
.text-link > span { font-size: 16px; font-weight: 400; }
.research-image { position: relative; display: block; background: #f1f2ec; aspect-ratio: 1.85; border-radius: 4px; overflow: hidden; }
.research-image picture { display: contents; }
.research-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.forest-dark .research-image { background: #101411; }
.forest-dark .research-image img { filter: invert(1) hue-rotate(160deg) saturate(.7); }
.project-category { font-size: 12px; color: var(--meta); }
h3 { font: normal 27px/1.25 var(--serif); letter-spacing: -.025em; }
.project-card-copy > p:not(.project-category) { color: var(--body); font-size: 14px; line-height: 1.8; margin-top: 8px; }
.project-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 30px; }
.project-card { min-width: 0; display: flex; flex-direction: column; }
.project-image { display: block; position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 1.85; }
.image-frame { position: absolute; inset: 0; }
.usage-image { background: #dfe7de; }
.usage-image img { object-fit: cover; object-position: top left; }
.paint-image { background: #e7decd; }
.paint-image img { object-fit: cover; }
.ferienw-image { background: #e5e8de; }
.ferienw-image img { object-fit: cover; object-position: top; }
.forest-dark .project-image img { filter: brightness(.85); }
.project-card-copy { padding: 17px 2px 0; display: flex; flex-direction: column; flex: 1; }
.project-card-copy h3 { font-size: 25px; }
.project-card-copy > .project-category { margin-bottom: 6px; }
.project-card-copy > p.project-ai { font-size: 12px; line-height: 1.7; margin-top: auto; padding-top: 11px; color: var(--ink); }
.project-ai > span { color: var(--meta); }
.project-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-top: 0; padding-top: 14px; }
.subtle-link { color: var(--body); font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-block: 24px 30px; color: var(--body); font-size: 12px; }
.footer-meta { display: flex; flex-direction: column; gap: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (prefers-reduced-motion: reduce) { .forest-image, .progressive::before, .progressive img { transition: none; } }
@media (max-width: 850px) {
    .intro { grid-template-columns: minmax(0, 1fr) 140px; gap: 35px; padding-block: 34px 48px; }
    .portrait-frame { width: 140px; height: 140px; }
    .intro-copy > p { font-size: 15px; }
    h3 { font-size: 25px; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { min-height: 77px; gap: 15px; }
    .header-links { gap: 14px; font-size: 12px; }
    .language { margin-left: 0; gap: 6px; font-size: 11px; }
    .background-switch { margin-left: 0; padding-left: 0; border-left: 0; }
    .background-switch select { font-size: 11px; }
    .intro { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-block: 24px 35px; }
    .portrait-frame { grid-row: 1; width: 100px; height: 100px; border-width: 3px; }
    h1 { max-width: 340px; font-size: clamp(34px, 8vw, 43px); }
    .intro-copy > p { margin-top: 14px; font-size: 14px; line-height: 1.85; }
    .work { padding-block: 24px 35px; }
    .section-heading { margin-bottom: 20px; gap: 15px; }
    h2 { font-size: 15px; }
    .section-heading > a { font-size: 12px; white-space: nowrap; }
    .project-pair { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .project-links { gap: 10px 21px; }
    .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 22px; }
    .footer-meta { order: 2; }
    .footer-links { gap: 12px 23px; }
}
@media (max-width: 380px) {
    .header-links { gap: 9px; font-size: 11px; }
    .background-switch select { font-size: 10px; }
}
