@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/static/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF;
}
@font-face { font-family:Manrope; font-style:normal; font-weight:200 800; font-display:swap; src:url('/static/fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range:U+0100-02FF,U+0300-036F,U+1E00-1EFF; }
:root {
  --paper: #f6f4ee;
  --ink: #252826;
  --muted: #62665f;
  --line: #cfcdc4;
  --rust: #b44327;
  --page-gutter: clamp(20px, 3vw, 64px);
  --header-height:88px;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior:smooth; scroll-padding-top:var(--header-height); }
body { margin:0; padding-top:var(--header-height); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rust); }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
.skip { position: absolute; top: -100px; left: 16px; padding: 12px; background: var(--paper); z-index: 5; }
.skip:focus { top: 12px; }
.shell { width: 100%; margin: 0; padding: 0 var(--page-gutter); }
.version-bar { display: flex; justify-content: space-between; gap: 20px; padding: 10px var(--page-gutter); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.version-bar a { text-decoration: underline; text-underline-offset: 4px; }
.personal-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.name { font-size: 1.2rem; font-weight: 750; letter-spacing: -.04em; }
.name span { display: block; margin-top: 7px; color: var(--muted); font-size: .875rem; font-weight: 450; letter-spacing: 0; }
.personal-header nav { display: flex; flex-wrap: wrap; gap: 30px; font-size: 1.0625rem; }
.personal-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; }
.introduction { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .8fr); align-items: end; gap: 7%; padding: 70px 0 48px; }
.label { font-size: .9375rem; color: var(--rust); line-height: 1.6; }
.intro-heading > .label { margin-bottom: 20px; }
h1 { font-size: clamp(3rem, 5.6vw, 5.3rem); line-height: 1.07; font-weight: 600; letter-spacing: -.065em; overflow-wrap:anywhere; }
h1 em { font-style: normal; color: var(--rust); }
.intro-note { max-width: 370px; padding-bottom: 5px; }
.intro-note p { font-size: 1.1875rem; line-height: 1.75; }
.intro-note p + p { margin-top: 16px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 0; border-bottom: 1px solid var(--rust); font-size: 1.0625rem; font-weight: 650; line-height: 1.6; }
.intro-actions { display:flex; flex-wrap:wrap; gap:0 24px; margin-top:24px; }
.selection-links { display: flex; justify-content: flex-end; margin-bottom: 24px; }

/* A large picture beside the text and a smaller GIF, matching the reference. */
.project-spread { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.project-spread + .project-spread { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.project-picture { position: relative; display: block; min-width: 0; background: white; }
.project-picture > img { aspect-ratio: 1; object-fit: contain; }
.project-photo > img { object-fit: cover; object-position: 50% 64%; }
.image-caption { position: absolute; bottom: 18px; left: 18px; max-width: calc(100% - 36px); background: var(--paper); padding: 8px 12px; font-size: .9375rem; line-height: 1.5; }
.project-story { min-width: 0; padding-top: 12px; }
.project-story h2 { margin: 15px 0 20px; font-size: clamp(2rem, 3.5vw, 3.1rem); font-weight: 550; line-height: 1.1; letter-spacing: -.05em; }
.project-story > p:not(.label) { font-size: 1.125rem; line-height: 1.8; color: var(--muted); }
.project-story > .text-link { margin-top: 18px; }
.project-story .aside-note { font-size: 1rem !important; margin-top: 14px; }
.recording { min-width: 0; margin-top: 35px; }
.recording img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--paper); }
.recording figcaption { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-top: 10px; font-size: .9375rem; line-height: 1.65; color: var(--muted); }
.recording figcaption > span { min-width: 0; flex: 1; }
.recording button { flex-shrink: 0; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); background: transparent; font-size: 1rem; }
.recording button:hover { background: var(--ink); color: var(--paper); }
.personal-header-controls { display:flex; align-items:center; gap:24px; }
.language-switcher { position:relative; }
.language-switcher summary { display:flex; align-items:center; justify-content:center; gap:9px; cursor:pointer; min-height:44px; padding:8px 12px; border:1px solid var(--line); font-size:1rem; list-style:none; }
.language-switcher summary::-webkit-details-marker { display:none; }
.language-switcher summary::after { content:''; width:7px; height:7px; border-right:1px solid; border-bottom:1px solid; transform:rotate(45deg); margin-top:-4px; }
.language-switcher summary:focus-visible { outline:2px solid var(--rust); outline-offset:4px; }
.language-options { position:absolute; right:0; top:calc(100% + 8px); z-index:10; min-width:160px; padding:6px; border:1px solid var(--line); background:var(--paper); box-shadow:0 8px 24px #25282612; }
.language-options a { display:block; padding:10px 12px; font-size:1rem; }
.language-options a[aria-current="page"] { background:var(--ink); color:var(--paper); }
.curated-project { grid-template-rows:auto auto; gap:32px 40px; }
.curated-project .project-story { grid-column:2; grid-row:1; align-self:center; padding:0; }
.curated-project .project-story > p:not(.label) { max-width:50ch; }
.project-lead { grid-column:1; grid-row:1; min-width:0; }
.project-support-media { grid-column:1 / -1; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:28px; min-width:0; align-items:start; }
.project-support-media > .homepage-visual { grid-column:span 2; }
.project-support-media[data-count="5"] > .homepage-visual:nth-child(n+4) { grid-column:span 3; }
.project-support-media .homepage-visual img { aspect-ratio:16 / 10; height:auto; object-fit:contain; }
.project-support-media figcaption { min-height:44px; }
.project-support-media .recording figcaption { flex-wrap:wrap; }
.homepage-visual { min-width:0; margin:0; }
.homepage-visual img { width:100%; height:auto; object-fit:contain; background:white; }
.homepage-visual figcaption { margin-top:10px; color:var(--muted); font-size:.9375rem; line-height:1.65; }
.project-lead .recording,.project-support-media .recording { margin-top:0; }
.curated-project .project-picture > img { aspect-ratio:auto; }
.curated-project .image-caption { font-size:.875rem; bottom:12px; left:12px; max-width:calc(100% - 24px); background:#f6f4eef2; }
.media-still { display:block; background:white; }
.curated-project :is(.project-picture, .media-still, .homepage-visual img) { background:var(--paper); }
.curated-project .homepage-visual--sand > :is(.project-picture, .media-still) {
  isolation:isolate;
  background:#f0e5d4;
}
.curated-project .homepage-visual--sand img { background:white; mix-blend-mode:multiply; }
.personal-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 12%; padding: 65px 0; margin-top: 80px; border-top: 1px solid var(--line); }
.personal-contact h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; font-weight: 600; letter-spacing: -.045em; margin-top: 15px; }
.personal-contact p { font-size: 1.125rem; line-height: 1.8; color: var(--muted); }
.personal-contact > div:last-child { padding-top: 10px; }
.email { display: block; font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 650; overflow-wrap: anywhere; margin: 20px 0 10px; }
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 28px 0 36px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1000px) {
  :root { --page-gutter: 28px; }
  .introduction { gap: 5%; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); padding-top: 50px; }
  h1 { font-size: clamp(2.8rem, 5.8vw, 4rem); }
  .intro-note p { font-size: 1.125rem; }
  .project-spread { gap: 28px; }
  .project-spread + .project-spread { margin-top: 60px; }
  .recording { margin-top: 25px; }
  .project-support-media { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .project-support-media > .homepage-visual,
  .project-support-media[data-count="5"] > .homepage-visual:nth-child(n+4) { grid-column:auto; }
  .project-support-media > .homepage-visual:last-child:nth-child(odd) { grid-column:1 / -1; }
  .project-support-media > .homepage-visual:last-child:nth-child(odd) img { aspect-ratio:2.2; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 20px; }
  .version-bar { flex-wrap: wrap; padding: 10px 20px; font-size: .875rem; }
  .version-bar > span { max-width: 21ch; }
  .version-bar > a { flex-shrink: 0; align-self: center; }
  .personal-header { align-items: start; flex-direction: column; padding: 22px 0; gap: 14px; }
  .personal-header nav { gap: 26px; font-size: 1rem; }
  .personal-header-controls { width:100%; justify-content:space-between; gap:12px; }
  .personal-header-controls nav { gap:16px; }
  .name span { font-size: .8125rem; }
  .introduction { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0 28px; }
  h1 { font-size: clamp(2.6rem, 8.8vw, 4rem); }
  .intro-note { max-width: 490px; }
  .intro-note p { font-size: 1.125rem; }
  .intro-note p + p { margin-top: 12px; }
  .intro-actions { margin-top:15px; }
  .selection-links { margin-bottom: 20px; }
  .project-spread { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .project-spread + .project-spread { margin-top: 42px; padding-top: 30px; }
  .project-story { padding-top: 0; }
  .project-story h2 { font-size: 2rem; }
  .project-story h2 br { display: none; }
  .curated-project { grid-template-rows:auto; }
  .curated-project .project-story,.project-lead,.project-support-media { grid-column:1; grid-row:auto; }
  .project-support-media { grid-template-columns:minmax(0,1fr); gap:24px; }
  .project-support-media > .homepage-visual:last-child:nth-child(odd) img { aspect-ratio:16 / 10; }
  .curated-project .project-story h2 { font-size:clamp(1.9rem,6.8vw,2.5rem); overflow-wrap:anywhere; }
  .recording { margin-top: 24px; }
  .personal-contact { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 44px; padding: 38px 0; }
  .personal-contact > div:last-child { padding: 0; }
  .personal-contact h2 { font-size: 2.5rem; }
  footer { font-size: .9375rem; gap: 14px; }
  footer a:last-child { flex-basis: 100%; }
}
/* One complete project per desktop screen; media stays uncropped. */
@media (min-width:1001px) and (min-height:620px) {
  html:has(.work-selection) { scroll-snap-type:y proximity; }
  .curated-project {
    height:calc(100svh - var(--header-height)); min-height:0; padding:24px 0;
    grid-template-rows:minmax(260px,1.1fr) minmax(0,1fr);
    gap:20px 36px; scroll-snap-align:start;
  }
  .curated-project + .curated-project { margin-top:0; padding-top:24px; }
  .curated-project:has([data-count="5"]) { grid-template-rows:minmax(250px,.85fr) minmax(0,1.25fr); }
  .curated-project .project-story { min-height:0; }
  .curated-project .project-story h2 { font-size:clamp(1.75rem,2.6vw,2.75rem); margin:10px 0 14px; }
  .curated-project .project-story > p:not(.label) { font-size:1.0625rem; line-height:1.6; }
  .curated-project .project-story .aside-note { margin-top:8px; }
  .curated-project .project-story > .text-link { margin-top:10px; }
  .curated-project .project-lead,
  .curated-project .featured-visual,
  .curated-project .project-picture { height:100%; min-height:0; }
  .curated-project .project-picture > img { height:100%; object-fit:contain; }
  .curated-project .project-support-media { min-height:0; height:100%; gap:16px 24px; align-items:stretch; grid-template-rows:minmax(0,1fr); }
  .curated-project .project-support-media[data-count="5"] { grid-template-rows:repeat(2,minmax(0,1fr)); }
  .curated-project .project-support-media > .homepage-visual { display:grid; grid-template-rows:minmax(0,1fr) auto; min-height:0; height:100%; }
  .curated-project .project-support-media .media-still { min-height:0; height:100%; }
  .curated-project .project-support-media .homepage-visual img { height:100%; min-height:0; aspect-ratio:auto; object-fit:contain; }
  .curated-project .project-support-media figcaption { margin-top:8px; min-height:44px; font-size:.875rem; line-height:1.4; }
  .curated-project .recording figcaption { align-items:center; flex-wrap:nowrap; gap:10px; }
  .curated-project .recording button { padding:8px 12px; }
  .personal-contact { scroll-snap-align:start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Keep the main navigation available throughout every active page. */
.personal-header { position:fixed; inset:0 0 auto; z-index:20; height:var(--header-height); padding:12px var(--page-gutter); background:var(--paper); }
.personal-header nav a:is([aria-current="page"],[aria-current="location"]) { color:var(--rust); text-decoration:underline; text-underline-offset:8px; }
@media(max-width:700px) {
 :root { --header-height:64px; }
 .personal-header { flex-direction:row; align-items:center; padding:8px var(--page-gutter); gap:0; }
 .personal-header > .name { display:none; }
 .personal-header-controls { gap:10px; }
 .personal-header-controls nav { flex-wrap:nowrap; gap:14px; }
 .personal-header nav a { font-size:.9375rem; }
 .language-switcher summary { padding:8px; }
}
@media(max-width:380px) {
 .personal-header-controls nav { gap:10px; }
 .personal-header .personal-header-controls { flex-wrap:nowrap; }
}

@media(max-width:700px) {
 .personal-header .personal-header-controls nav { gap:clamp(6px,2vw,14px); }
 .personal-header .personal-header-controls nav a { font-size:clamp(.85rem,3.6vw,.9375rem); }
}
