*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#161616;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}a:focus-visible{outline:2px solid #111;outline-offset:6px}header{display:flex;align-items:center;justify-content:space-between;padding:34px 42px 38px;gap:30px}.name{font-size:25px;font-weight:500;letter-spacing:-.7px;white-space:nowrap}nav{display:flex;gap:26px;font-size:14px}nav a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}main{padding:18px 42px 70px;min-height:75vh}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.cover{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}.caption{display:block;margin-top:12px;font-size:14px}h1{font-size:18px;font-weight:400;margin:0 0 30px}.projecthead{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:35px}.projecthead h1{margin:0}.back{font-size:14px;color:#666}.gallery{max-width:1000px;margin:auto;display:grid;gap:55px}.gallery img{display:block;width:100%;height:auto}.text{max-width:580px;margin-top:45px}.text p{margin:0 0 22px}.empty{color:#777;font-size:14px;margin-top:42px}footer{padding:26px 42px;color:#777;font-size:12px} @media(min-width:1500px){header,main,footer{padding-left:60px;padding-right:60px}}@media(max-width:700px){header{align-items:flex-start;flex-direction:column;padding:25px 22px;gap:23px}.name{font-size:23px}nav{gap:21px;flex-wrap:wrap;font-size:14px}main{padding:24px 22px 48px}.projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gallery{gap:25px}.projecthead{margin-bottom:25px}footer{padding:25px 22px}.text{margin-top:20px}}@media(max-width:420px){.projects{grid-template-columns:1fr}nav{gap:18px}}
/* Compact project covers on every screen. */
.projects{grid-template-columns:repeat(auto-fill,140px);gap:30px}.projects>a{width:140px}.cover{width:140px;height:175px;aspect-ratio:4/5}.caption{font-size:14px;margin-top:9px}

/* Full photographs at an intimate scale, with generous white space. */
.gallery{max-width:420px;gap:38px;justify-items:center}.gallery img{width:auto;max-width:100%;height:auto;max-height:65vh;object-fit:contain}@media(max-width:700px){.gallery{max-width:280px;gap:28px}.gallery img{max-height:60vh}}

.photo-open{padding:0;border:0;background:none;cursor:pointer;width:100%;display:grid;place-items:center}.photo-open:focus-visible,dialog button:focus-visible{outline:2px solid #111;outline-offset:5px}dialog{border:0;padding:25px 35px;width:min(700px,94vw);max-height:94vh;color:#161616;background:white}dialog::backdrop{background:rgba(255,255,255,.96)}.viewer-top,.viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px}.viewer-top{margin-bottom:25px}dialog button{font:inherit;border:0;background:none;color:inherit;padding:8px;cursor:pointer}dialog button:hover{text-decoration:underline;text-underline-offset:4px}.viewer-photo{display:block;width:100%;margin:0 auto;padding:0}.viewer-photo img{display:block;width:auto;height:auto;max-width:min(100%,420px);max-height:65vh;margin:auto;object-fit:contain}.viewer-controls{margin-top:22px}#position{color:#777;font-size:13px}@media(max-width:700px){dialog{padding:20px}.viewer-photo img{max-width:min(100%,280px);max-height:60vh}}

/* Helvetica Bold throughout the portfolio and gallery controls. */
body, body * { font-family: Helvetica, Arial, sans-serif; font-weight: 700; }

dialog .viewer-icon{display:grid;place-items:center;min-width:44px;min-height:44px;padding:10px}dialog .viewer-icon:hover{text-decoration:none;opacity:.55}

/* Centered opening photograph with room around it. */
main.opening{min-height:calc(100svh - 190px);display:flex;align-items:center;justify-content:center;padding:20px 42px 40px}.opening-photo{display:block;width:auto;height:auto;max-width:min(760px,100%);max-height:65svh;object-fit:contain}@media(max-width:700px){main.opening{min-height:calc(100svh - 230px);padding:20px 22px 40px}.opening-photo{max-width:100%;max-height:55svh}}

/* Edge-to-edge opening photograph, with navigation overlaid. */
.home-fullscreen{height:100svh;overflow:hidden}.home-fullscreen header{position:absolute;inset:0 0 auto;z-index:2;background:linear-gradient(to bottom,rgba(255,255,255,.8),rgba(255,255,255,0));padding-bottom:55px}.home-fullscreen main.opening{position:fixed;inset:0;min-height:0;height:100svh;width:100%;padding:0;display:block}.home-fullscreen .opening-photo{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center}.home-fullscreen footer{position:absolute;bottom:0;left:0;z-index:2;color:#161616;padding:16px 42px;text-shadow:0 0 8px #fff}@media(max-width:700px){.home-fullscreen header{padding:25px 22px 45px}.home-fullscreen footer{padding:16px 22px}}

/* Zeynep is vertically mirrored until the name is clicked. */
.name-flip{display:inline-block;transform:scaleY(-1);transition:none;transform-origin:center}.name:hover{text-decoration:none}.name.is-upright .name-flip{transform:scaleY(1)}@media(prefers-reduced-motion:reduce){.name-flip{transition:none}}

/* Equal typography for both parts of the name. */
.name{font-family:Helvetica,Arial,sans-serif;font-weight:700;line-height:1.2}.name .name-flip,.name .name-surname{font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;display:inline-block;vertical-align:middle}

.name:hover .name-flip,.name:focus-visible .name-flip{transform:scaleY(1)}

/* Allow the expanded navigation to wrap on intermediate screens. */
nav{flex-wrap:wrap}nav a{white-space:nowrap}

.ej-inline-video{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain}@media(max-width:700px){.ej-inline-video{max-height:60vh}}

.video-open{position:relative}.video-open span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:36px;color:white;text-shadow:0 1px 8px #000}#viewer-video{display:block;width:auto;max-width:min(100%,420px);height:auto;max-height:65vh;margin:auto}#viewer-video[hidden],.viewer-photo[hidden]{display:none}@media(max-width:700px){#viewer-video{max-width:min(100%,280px);max-height:60vh}}

/* Keep image interactions free of rectangular focus frames. */
.photo-open,.photo-open:hover,.photo-open:active,.photo-open:focus,.photo-open:focus-visible,.viewer-photo,.viewer-photo:hover,.viewer-photo:active,.viewer-photo:focus,.viewer-photo:focus-visible,.projects>a:focus,.projects>a:focus-visible{outline:none;box-shadow:none;border:0;-webkit-tap-highlight-color:transparent}
.photo-open:focus-visible img,.viewer-photo:focus-visible img{opacity:.85}
.projects>a:focus-visible .caption{text-decoration:underline;text-underline-offset:5px}

/* Gallery icon controls stay frameless in every interaction state. */
dialog .viewer-icon,dialog .viewer-icon:hover,dialog .viewer-icon:active,dialog .viewer-icon:focus,dialog .viewer-icon:focus-visible{outline:none;border:0;box-shadow:none;-webkit-tap-highlight-color:transparent}
dialog .viewer-icon:focus-visible{opacity:.55}

/* Larger project covers with narrower gutters across all categories. */
.projects{grid-template-columns:repeat(auto-fill,170px);gap:24px 15px}
.projects>a{width:170px;min-width:0}
.projects .cover{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
@media(max-width:420px){.projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}.projects>a{width:100%;max-width:170px}}

/* Give project photographs more space, both on the page and in the viewer. */
.gallery{max-width:540px}
.gallery img{max-height:75vh}
dialog{width:min(800px,94vw)}
.viewer-photo img{max-width:min(100%,540px);max-height:75vh}
@media(max-width:700px){.gallery{max-width:340px}.gallery img{max-height:70vh}.viewer-photo img{max-width:min(100%,340px);max-height:70vh}}

/* Keep all seven navigation links evenly spaced on one mobile row. */
@media(max-width:700px){header nav{width:100%;flex-wrap:nowrap;justify-content:flex-start;gap:clamp(6px,2vw,10px);font-size:clamp(11px,3.3vw,14px)}header nav a{flex:0 0 auto}}

/* Tighter, equal navigation spacing on desktop. */
@media(min-width:701px){header nav{gap:16px}}

/* Reis. uses consistent photographic print proportions without stretching. */
.reis-project .gallery img.reis-portrait,.reis-project .viewer-photo img.reis-portrait{width:min(100%,540px,calc(75vh * 5 / 7));height:auto;aspect-ratio:5/7;object-fit:cover;object-position:center}
.reis-project .gallery img.reis-landscape,.reis-project .viewer-photo img.reis-landscape{width:min(100%,540px);height:auto;aspect-ratio:7/5;object-fit:cover;object-position:center}
@media(max-width:700px){.reis-project .gallery img.reis-portrait,.reis-project .viewer-photo img.reis-portrait{width:min(100%,340px,calc(70vh * 5 / 7))}.reis-project .gallery img.reis-landscape,.reis-project .viewer-photo img.reis-landscape{width:min(100%,340px)}}

/* Eight navigation sections remain in a single row. */
header nav{flex-wrap:nowrap}
@media(max-width:700px){header nav{gap:clamp(4px,1.3vw,8px);font-size:clamp(9px,2.8vw,12px)}}
@media(min-width:701px) and (max-width:1000px){header{flex-direction:column;align-items:flex-start;gap:23px}}
