@font-face{font-family:CarterOne;src:url('brand/CarterOne-Regular.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#090909;color:#f3f2ed;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid #d7ef87;outline-offset:7px}header{height:112px;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #252525}.brand{width:114px;height:60px;display:block}.brand svg{width:100%;height:100%;overflow:visible}nav{font-size:13px}nav span{margin-left:22px;color:#b6b6b0}.intro{padding:90px 6vw 65px}.eyebrow,.section-line{font-size:11px;letter-spacing:.17em}.eyebrow{color:#adada5;margin:0 0 32px}h1{font-size:clamp(68px,10.5vw,160px);line-height:.94;font-weight:400;letter-spacing:-.065em;margin:0}h1 span{color:#8f9088}.intro-bottom{margin-top:50px;display:flex;justify-content:space-between;align-items:end;font-size:14px}.intro-bottom p{line-height:1.6;color:#a8a8a1}.intro-bottom a{padding-bottom:8px;border-bottom:1px solid #777}#work{padding:0 3vw}.section-line{display:flex;justify-content:space-between;margin:15px 3vw 25px;color:#b5b5ae}.project-card{display:block;position:relative;height: min(75vw,720px);min-height:380px;margin-bottom:26px;overflow:hidden;background:#171717}.project-card img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.7,.2,1)}.project-card:hover img{transform:scale(1.035)}.project-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 45%,#000b)}.card-caption{position:absolute;z-index:1;bottom:42px;left:3vw;right:3vw;display:flex;align-items:end;justify-content:space-between}.card-caption .eyebrow{margin-bottom:12px;color:#ddd}.card-caption h2{font-size:clamp(34px,5vw,76px);letter-spacing:-.04em;font-weight:400;margin:0}.arrow{font-size:30px;width:64px;height:64px;display:grid;place-items:center;border:1px solid #ffffff80;border-radius:50%;transition:background .3s}.project-card:hover .arrow{background:#f3f2ed;color:#090909}.demo-note{font-size:12px;color:#999;padding:0 3vw}.closing{padding:130px 6vw}.closing h2{font-size:clamp(48px,7vw,105px);letter-spacing:-.055em;line-height:1.03;font-weight:400;margin:0 0 35px}.closing>a{border-bottom:1px solid #777;padding-bottom:8px}footer{padding:30px 6vw 115px;border-top:1px solid #252525;display:flex;justify-content:space-between;font-size:12px;color:#999}.contact{position:fixed;z-index:10;bottom:25px;right:28px;background:#d7ef87;color:#10120a;padding:19px 24px;border-radius:50px;font-size:14px;box-shadow:0 4px 28px #0005}.contact span{margin-left:22px}.skip{position:fixed;top:-100px;z-index:20;background:#fff;color:#000;padding:15px}.skip:focus{top:10px}.project-main{padding:55px 6vw}.back{font-size:13px;color:#aaa}.project-intro{padding:70px 0 50px}.project-intro h1{font-size:clamp(55px,8vw,110px);overflow-wrap:anywhere}.project-intro p:last-child{color:#aaa;line-height:1.6;max-width:600px;margin-top:30px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px}.gallery figure{margin:0;min-width:0}.gallery figure:first-child{grid-column:1/-1}.gallery img{display:block;width:100%;height:auto;background:#171717}.gallery a{display:block}.gallery figcaption{font-size:12px;color:#999;margin:12px 0 20px;line-height:1.5}.next-project{display:flex;justify-content:space-between;padding:60px 0;border-top:1px solid #333;margin-top:50px;font-size:22px}.reveal{opacity:1}.motion .reveal{opacity:0;transform:translateY(24px);transition:opacity .8s,transform .8s}.motion .reveal.visible{opacity:1;transform:none}.notice{padding:30px 6vw;color:#bbb}@media(max-width:600px){header{height:90px}.brand{width:95px}nav{font-size:12px}.intro{padding-top:60px}.intro-bottom{gap:25px;align-items:start;flex-direction:column;margin-top:35px}.project-card{height:70vh;min-height:400px}.card-caption{bottom:28px;left:6vw;right:6vw}.arrow{width:48px;height:48px;font-size:25px}.closing{padding:85px 6vw}.gallery{grid-template-columns:1fr;gap:12px}.gallery figure:first-child{grid-column:auto}.contact{right:18px;bottom:18px;padding:17px 21px}.project-main{padding-top:35px}.project-intro{padding-top:50px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.motion .reveal{opacity:1;transform:none}}
/* Each upcoming project slides over the pinned card before it. */
#projects{isolation:isolate;position:relative;padding-bottom:12vh}
#projects .project-card{position:sticky;top:calc(28px + var(--stack-offset, 0px));height:min(720px,calc(100svh - 110px));min-height:0;margin-bottom:12vh;border-radius:12px;box-shadow:0 -12px 40px #0005}
/* Keep sticky cards fully visible; gallery figures retain their reveal motion. */
.motion #projects .project-card.reveal{opacity:1;transform:none}
@media(max-width:600px){#projects .project-card{top:calc(18px + var(--stack-offset, 0px));height:calc(100svh - 110px);margin-bottom:9vh;border-radius:8px}}
@media(prefers-reduced-motion:reduce){#projects .project-card{transition:none;box-shadow:none}}

/* Portraits, unmatched proportions and orphan images get their own row. */
.gallery figure.solo{grid-column:1 / -1}

/* Keep the folder identity visible throughout the photo gallery. */
.gallery-heading{position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#090909f5;border-bottom:1px solid #303030;padding:20px 0;backdrop-filter:blur(12px)}
#folder-name{font-size:15px;font-weight:600;text-align:right;overflow-wrap:anywhere;min-width:0}
.gallery-heading .back{flex-shrink:0}
@media(max-width:600px){.gallery-heading{gap:16px;padding:16px 0}#folder-name{font-size:13px}}

/* Project photos: centered and uncropped, capped at 400px high. */
#gallery{max-width:1040px;margin-inline:auto;gap:28px}
#gallery a{display:flex;justify-content:center;align-items:center}
#gallery img{display:block;width:auto;max-width:100%;height:auto;max-height:400px;object-fit:contain;background:transparent}

#gallery img.portrait-photo{max-height:800px}

.photo-viewer{position:fixed;inset:0;margin:auto;width:96vw;max-width:1440px;height:94svh;max-height:94svh;padding:20px;background:#090909;color:#f3f2ed;border:1px solid #444;border-radius:12px;overflow:hidden}
.photo-viewer[open]{display:flex;flex-direction:column;gap:14px}
.photo-viewer::backdrop{background:#000e}
.viewer-toolbar,.viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}
.viewer-count{font-size:13px;color:#aaa}
.photo-viewer button{font:inherit;font-size:14px;background:#232323;color:#fff;border:1px solid #555;border-radius:24px;padding:12px 18px;cursor:pointer}
.photo-viewer button:hover{background:#383838}.photo-viewer button:focus-visible{outline:2px solid #d7ef87;outline-offset:3px}
.viewer-stage{flex:1;min-height:0;display:flex;justify-content:center;align-items:center}
.viewer-image{display:block;width:100%;height:100%;object-fit:contain}
.viewer-caption{margin:0;color:#aaa;text-align:center;font-size:13px;flex-shrink:0;max-height:48px;overflow:auto}
.viewer-caption:empty{display:none}
@media(max-width:600px){.photo-viewer{padding:14px;width:100vw;height:100svh;max-height:100svh;border-radius:0;border:0}.photo-viewer button{padding:11px 15px}}

/* Uniform gallery frames; originals keep their proportions inside each frame. */
#gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
#gallery figure,#gallery figure:first-child,#gallery figure.solo{grid-column:auto}
#gallery figure>a{display:flex;width:100%;height:400px;background:#000;align-items:center;justify-content:center}
#gallery img,#gallery img.portrait-photo{width:100%;height:100%;max-width:100%;max-height:400px;object-fit:contain;background:#000}
@media(max-width:600px){#gallery{grid-template-columns:1fr;gap:20px}#gallery figure>a{height:300px}#gallery img,#gallery img.portrait-photo{max-height:300px}}

/* Two 400 × 400 photo frames, scaling down together on narrower screens. */
#gallery{max-width:824px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#gallery figure>a{height:auto;aspect-ratio:1 / 1;position:relative}
#gallery img,#gallery img.portrait-photo{position:absolute;inset:0;width:100%;height:100%;max-height:400px;object-fit:contain}
@media(max-width:600px){#gallery{max-width:400px;grid-template-columns:1fr;gap:20px}#gallery figure>a{height:auto;aspect-ratio:1 / 1}#gallery img,#gallery img.portrait-photo{max-height:400px}}

/* Edge-to-edge thumbnails; the viewer retains the full original. */
#gallery img,#gallery img.portrait-photo{object-fit:cover;object-position:center}

/* Natural-proportion carousel replaces square thumbnail frames. */
#gallery.carousel{display:flex;max-width:1200px;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
#gallery.carousel::-webkit-scrollbar{display:none}
#gallery.carousel figure{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;margin:0;opacity:1;transform:none}
#gallery.carousel figure>a{display:flex;position:static;aspect-ratio:auto;height:70svh;width:100%;background:transparent;align-items:center;justify-content:center}
#gallery.carousel img,#gallery.carousel img.portrait-photo{position:static;inset:auto;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;background:transparent}
.carousel-controls{max-width:1200px;margin:22px auto 0;display:flex;justify-content:space-between;align-items:center;gap:18px}
.carousel-controls button{font:inherit;font-size:14px;border:1px solid #555;background:#181818;color:#fff;padding:12px 20px;border-radius:24px;cursor:pointer}
.carousel-controls button:disabled{opacity:.3;cursor:default}.carousel-controls button:focus-visible{outline:2px solid #d7ef87;outline-offset:3px}
.carousel-status{font-size:13px;color:#aaa;white-space:nowrap}
@media(max-width:600px){#gallery.carousel figure>a{height:60svh}.carousel-controls button{padding:11px 14px;font-size:12px}}

/* Alternating horizontal photo ribbons. Hover or focus pauses only that row. */
#gallery.moving-gallery{display:flex;flex-direction:column;max-width:none;gap:24px;overflow:hidden}
.photo-row{overflow:hidden;width:100%;padding-block:4px}
.photo-track{display:flex;width:max-content;animation:photo-drift var(--row-duration,60s) linear infinite;will-change:transform}
.photo-track.reverse{animation-direction:reverse}
.photo-group{display:flex;gap:20px;padding-right:20px;flex-shrink:0}
#gallery.moving-gallery figure{flex:none;min-width:0;margin:0;opacity:1;transform:none;grid-column:auto}
#gallery.moving-gallery figure>a{display:block;position:static;aspect-ratio:auto;width:auto;height:260px;background:transparent}
#gallery.moving-gallery img,#gallery.moving-gallery img.portrait-photo{display:block;position:static;inset:auto;width:auto;height:260px;max-width:none;max-height:none;object-fit:contain;background:transparent;border-radius:6px}
#gallery.moving-gallery figcaption{display:none}
.photo-row:hover .photo-track,.photo-row:focus-within .photo-track,#gallery.paused .photo-track,body:has(.photo-viewer[open]) .photo-track{animation-play-state:paused}
.rows-pause{display:block;margin:0 0 20px auto;font:inherit;font-size:12px;padding:10px 16px;background:#171717;color:#ddd;border:1px solid #555;border-radius:24px;cursor:pointer}
.rows-pause:focus-visible{outline:2px solid #d7ef87;outline-offset:3px}
@keyframes photo-drift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:600px){#gallery.moving-gallery{gap:18px}#gallery.moving-gallery figure>a,#gallery.moving-gallery img,#gallery.moving-gallery img.portrait-photo{height:200px}.photo-group{gap:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){.photo-track{animation:none!important;transform:none!important;will-change:auto}.photo-copy{display:none}.photo-row{overflow-x:auto}.rows-pause{display:none}}

@media(prefers-reduced-motion:reduce){.photo-repeat{display:none}}

.video-tile{position:relative!important}.video-badge{position:absolute;z-index:1;bottom:14px;left:14px;background:#000b;color:#fff;border:1px solid #ffffff60;border-radius:25px;padding:9px 14px;font-size:12px;pointer-events:none}
.viewer-video{width:100%;height:100%;object-fit:contain}.viewer-stage [hidden]{display:none!important}.viewer-error{position:absolute;background:#111d;color:#fff;padding:15px;max-width:80%;text-align:center}

#gallery.small-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));max-width:1200px;gap:24px}
#gallery.small-gallery figure{grid-column:auto;opacity:1;transform:none}
#gallery.small-gallery figure>a{position:relative;display:flex;aspect-ratio:auto;height:65svh;width:100%;background:transparent;align-items:center;justify-content:center}
#gallery.small-gallery img,#gallery.small-gallery img.portrait-photo{position:static;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;background:transparent}

/* Single-video projects play inline directly below their heading. */
#gallery.single-video-gallery{display:block;max-width:1200px}
.inline-project-video{display:block;width:100%;height:auto;max-height:70svh;object-fit:contain;background:#000;border-radius:8px}

@media(prefers-reduced-motion:reduce){.photo-row-extra{display:none}}

nav{display:flex;align-items:center;gap:28px}.language-switch{display:flex;gap:3px}.language-switch button{font:inherit;font-size:12px;padding:8px;background:transparent;color:#888;border:0;cursor:pointer}.language-switch button[aria-pressed="true"]{color:#f3f2ed;border-bottom:1px solid #d7ef87}.language-switch button:focus-visible{outline:2px solid #d7ef87;outline-offset:3px}html[lang="fr"] .intro h1{font-size:clamp(52px,8.5vw,130px)}@media(max-width:600px){nav{gap:15px}.language-switch button{padding:7px 5px}html[lang="fr"] .intro h1{font-size:clamp(46px,9vw,68px)}}
